[asterisk-commits] pabelanger: testsuite/bamboo/trunk r1327 - /bamboo/trunk/contrib/init.d/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 4 17:55:46 UTC 2011


Author: pabelanger
Date: Tue Jan  4 11:55:42 2011
New Revision: 1327

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1327
Log:
Fix minor typos; add restart support.

Modified:
    bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent

Modified: bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent
URL: http://svnview.digium.com/svn/testsuite/bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent?view=diff&rev=1327&r1=1326&r2=1327
==============================================================================
--- bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent (original)
+++ bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent Tue Jan  4 11:55:42 2011
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 ### BEGIN INIT INFO
-# Provides:		bamboo
+# Provides:		bamboo-remote-agent
 # Required-Start:	$local_fs $remote_fs $network $syslog
 # Required-Stop:	$local_fs $remote_fs $network $syslog
 # Default-Start:	2 3 4 5
@@ -16,10 +16,13 @@
 	stop)
 		/srv/bamboo/bin/bamboo-agent.sh stop
 		;;
+	restart)
+		/srv/bamboo/bin/bamboo-agent.sh restart
+		;;
 	*)
-		echo "Usage: $0 {start|stop}"
+		echo "Usage: $0 {start|stop|restart}"
 		exit 1
-i		;;
+		;;
 esac
 
 exit 0




More information about the asterisk-commits mailing list