diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-06-22 18:36:28 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-06-22 19:10:10 +0200 |
commit | 876917689b32c5b65ba4e0b2014b79c55b6a45f3 (patch) | |
tree | 2f4a467b770712bfd85bfb98ecd9e2ef4c234c06 | |
parent | 7574a5b0557f03c3f3d0e059e332749314546092 (diff) | |
download | buildroot-876917689b32c5b65ba4e0b2014b79c55b6a45f3.tar.gz buildroot-876917689b32c5b65ba4e0b2014b79c55b6a45f3.zip |
apache: add reload target to sysv init script
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/apache/S50apache | 5 |
1 files changed, 4 insertions, 1 deletions
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 |