cleanup unsupported actions from init script

This commit is contained in:
Remi Collet 2016-09-14 11:08:00 +02:00
parent 83364f086c
commit 5595a23796
2 changed files with 0 additions and 22 deletions

View File

@ -51,10 +51,6 @@ restart() {
start start
} }
reload() {
false
}
rh_status() { rh_status() {
status -p $pidfile $name status -p $pidfile $name
} }
@ -76,13 +72,6 @@ case "$1" in
restart) restart)
$1 $1
;; ;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status) status)
rh_status rh_status
;; ;;

View File

@ -51,10 +51,6 @@ restart() {
start start
} }
reload() {
false
}
rh_status() { rh_status() {
status -p $pidfile $name status -p $pidfile $name
} }
@ -76,13 +72,6 @@ case "$1" in
restart) restart)
$1 $1
;; ;;
reload)
rh_status_q || exit 7
$1
;;
force-reload)
force_reload
;;
status) status)
rh_status rh_status
;; ;;