summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2009-08-13 17:31:50 +0100
committerDavid Wragg <dpw@lshift.net>2009-08-13 17:31:50 +0100
commit5f5f235157f181cf2d4dda649186b5a91042e2b5 (patch)
tree9bb9aef68040c5ad8a34dacf1a18f2db996cce02 /packaging
parent9ea57afedb17f7cde5cfc8fa246906d72fa1a0f2 (diff)
downloadrabbitmq-server-git-5f5f235157f181cf2d4dda649186b5a91042e2b5.tar.gz
Reconcile actions peformed by the init scripts
Not all the actions behave according to specs, but this is a general issue with our init scripts.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/RPMS/Fedora/init.d7
-rw-r--r--packaging/debs/Debian/debian/init.d4
2 files changed, 3 insertions, 8 deletions
diff --git a/packaging/RPMS/Fedora/init.d b/packaging/RPMS/Fedora/init.d
index ca61eafdbb..1439f56331 100644
--- a/packaging/RPMS/Fedora/init.d
+++ b/packaging/RPMS/Fedora/init.d
@@ -115,12 +115,7 @@ case "$1" in
echo -n "Rotating log files for $DESC: "
rotate_logs_rabbitmq
;;
- force-reload|reload|restart)
- echo -n "Restarting $DESC: "
- restart_rabbitmq
- echo "$NAME."
- ;;
- condrestart|try-restart)
+ force-reload|reload|restart|condrestart|try-restart)
echo -n "Restarting $DESC: "
restart_rabbitmq
echo "$NAME."
diff --git a/packaging/debs/Debian/debian/init.d b/packaging/debs/Debian/debian/init.d
index e046364a2a..10a6c4983c 100644
--- a/packaging/debs/Debian/debian/init.d
+++ b/packaging/debs/Debian/debian/init.d
@@ -115,13 +115,13 @@ case "$1" in
echo -n "Rotating log files for $DESC: "
rotate_logs_rabbitmq
;;
- force-reload|restart)
+ force-reload|reload|restart|condrestart|try-restart)
echo -n "Restarting $DESC: "
restart_rabbitmq
echo "$NAME."
;;
*)
- echo "Usage: $0 {start|stop|status|rotate-logs|restart|force-reload}" >&2
+ echo "Usage: $0 {start|stop|status|rotate-logs|restart|condrestart|try-restart|reload|force-reload}" >&2
RETVAL=1
;;
esac