From 876917689b32c5b65ba4e0b2014b79c55b6a45f3 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 22 Jun 2018 18:36:28 +0200 Subject: [PATCH] apache: add reload target to sysv init script Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- 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 -- 2.30.2