summaryrefslogtreecommitdiffstats
path: root/debian/buildsys/common
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2008-03-25 10:59:15 +0000
committerNarayan Desai <desai@mcs.anl.gov>2008-03-25 10:59:15 +0000
commit36c2b1444389cfa7c7534a7a180353317667720e (patch)
tree75a6f568bce2821e11bfa3f73d68dbb13e6d0e67 /debian/buildsys/common
parentc5dfaca884dbbbca5499e6fab45bbcdc31f0ba07 (diff)
downloadbcfg2-36c2b1444389cfa7c7534a7a180353317667720e.tar.gz
bcfg2-36c2b1444389cfa7c7534a7a180353317667720e.tar.bz2
bcfg2-36c2b1444389cfa7c7534a7a180353317667720e.zip
init script fixup from SolJ
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4455 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'debian/buildsys/common')
-rw-r--r--debian/buildsys/common/bcfg2-server.init5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/buildsys/common/bcfg2-server.init b/debian/buildsys/common/bcfg2-server.init
index 18bf12768..308844031 100644
--- a/debian/buildsys/common/bcfg2-server.init
+++ b/debian/buildsys/common/bcfg2-server.init
@@ -85,6 +85,11 @@ case "$1" in
status)
status
;;
+ restart|reload|force-reload)
+ stop
+ sleep 5
+ start
+ ;;
*)
log_success_msg "Usage: $0 {start|stop|status|reload|restart|force-reload}"
exit 1