apache: add reload target to sysv init script
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 22 Jun 2018 16:36:28 +0000 (18:36 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 22 Jun 2018 17:10:10 +0000 (19:10 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/apache/S50apache

index 623a7eef3b37be37fb81e748b18ed8ca871e6e0b..b6874190550ab117da1d80ed2d53cbb57d2f0fa3 100644 (file)
@@ -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