[bacula/f17: 1/2] SysV init scripts cleanup #2
Simone Caronni
slaanesh at fedoraproject.org
Tue Jun 19 09:59:16 UTC 2012
commit 940ac992ffc81366ba5489f4a08109b156c6804d
Author: Simone Caronni <negativo17 at gmail.com>
Date: Tue Jun 19 11:58:54 2012 +0200
SysV init scripts cleanup #2
bacula-dir.init | 4 +---
bacula-fd.init | 4 +---
bacula-sd.init | 4 +---
3 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/bacula-dir.init b/bacula-dir.init
index a4be040..9f999b0 100644
--- a/bacula-dir.init
+++ b/bacula-dir.init
@@ -70,8 +70,6 @@ case "$1" in
stop
start
;;
- reload)
- ;;
condrestart|try-restart)
if [ -f /var/lock/subsys/$prog ]; then
stop
@@ -79,7 +77,7 @@ case "$1" in
fi
;;
*)
- echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}"
+ echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}"
[ "$1" = "usage" ] && exit 0
exit 2
;;
diff --git a/bacula-fd.init b/bacula-fd.init
index 60f257f..662deba 100644
--- a/bacula-fd.init
+++ b/bacula-fd.init
@@ -70,8 +70,6 @@ case "$1" in
stop
start
;;
- reload)
- ;;
condrestart|try-restart)
if [ -f /var/lock/subsys/$prog ]; then
stop
@@ -79,7 +77,7 @@ case "$1" in
fi
;;
*)
- echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}"
+ echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}"
[ "$1" = "usage" ] && exit 0
exit 2
;;
diff --git a/bacula-sd.init b/bacula-sd.init
index 46aec10..98327d9 100644
--- a/bacula-sd.init
+++ b/bacula-sd.init
@@ -69,8 +69,6 @@ case "$1" in
stop
start
;;
- reload)
- ;;
condrestart|try-restart)
if [ -f /var/lock/subsys/$prog ]; then
stop
@@ -78,7 +76,7 @@ case "$1" in
fi
;;
*)
- echo "Usage: $prog {start|stop|restart|condrestart|try-restart|reload|force-reload|status|usage}"
+ echo "Usage: $prog {start|stop|status|restart|force-reload|condrestart|try-restart}"
[ "$1" = "usage" ] && exit 0
exit 2
;;
More information about the scm-commits
mailing list