Skip to contentSkip to conversation

apache: add reload target to sysv init script

PATCH New Fabrice Fontaine 2 participants 2 messages Jun 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apache: add reload target to sysv init script

---
 package/apache/S50apache | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/apache/S50apache +4 -1
index 623a7eef3b..b687419055 100644
@@ -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
 
Signature · 1 line
2.14.1