소스 검색

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>
Fabrice Fontaine 7 년 전
부모
커밋
876917689b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      package/apache/S50apache

+ 4 - 1
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