Message ID | 20180622163628.2519-1-fontaine.fabrice@gmail.com |
---|---|
State | Accepted |
Commit | 876917689b32c5b65ba4e0b2014b79c55b6a45f3 |
Headers | show |
Series | [1/1] apache: add reload target to sysv init script | expand |
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes: > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Committed, thanks.
diff --git a/package/apache/S50apache b/package/apache/S50apache index 623a7eef3b..b687419055 100644 --- a/package/apache/S50apache +++ b/package/apache/S50apache @@ -4,8 +4,11 @@ case "$1" in start|restart|graceful|graceful-stop|stop) apachectl -k $1 ;; + reload) + apachectl -k restart + ;; *) - echo "Usage: $0 {start|restart|graceful|graceful-stop|stop}" + echo "Usage: $0 {start|restart|reload|graceful|graceful-stop|stop}" exit 1 esac
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> --- package/apache/S50apache | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)