[Buildroot] [git commit] apache: add reload target to sysv init script
Peter Korsgaard
peter at korsgaard.com
Fri Jun 22 17:10:10 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=876917689b32c5b65ba4e0b2014b79c55b6a45f3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/apache/S50apache | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
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
More information about the buildroot
mailing list