[svn-commits] pabelanger: testsuite/bamboo/trunk r1326 - in /bamboo/trunk/contrib: ./ init.d/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 4 17:52:05 UTC 2011


Author: pabelanger
Date: Tue Jan  4 11:52:01 2011
New Revision: 1326

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1326
Log:
Add init.d script for Debian / Ubuntu

Added:
    bamboo/trunk/contrib/
    bamboo/trunk/contrib/init.d/
    bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent   (with props)

Added: 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=auto&rev=1326
==============================================================================
--- bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent (added)
+++ bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent Tue Jan  4 11:52:01 2011
@@ -1,0 +1,25 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:		bamboo
+# Required-Start:	$local_fs $remote_fs $network $syslog
+# Required-Stop:	$local_fs $remote_fs $network $syslog
+# Default-Start:	2 3 4 5
+# Default-Stop:		0 1 6
+# Short-Description:	Bamboo Remote Agent
+### END INIT INFO
+
+case $1 in
+	start)
+		/srv/bamboo/bin/bamboo-agent.sh start
+		;;
+	stop)
+		/srv/bamboo/bin/bamboo-agent.sh stop
+		;;
+	*)
+		echo "Usage: $0 {start|stop}"
+		exit 1
+i		;;
+esac
+
+exit 0

Propchange: bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: bamboo/trunk/contrib/init.d/rc.debian.bamboo-remote-agent
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the svn-commits mailing list