Changes between Version 1 and Version 2 of Bitten Slave Daemon Ubuntu
- Timestamp:
- Oct 19, 2009, 5:51:01 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Bitten Slave Daemon Ubuntu
v1 v2 16 16 NAME="bitten-slave" 17 17 DAEMON_CMD="/usr/bin/bitten-slave" 18 DAEMON_ARG="http://localhost/ staff/trac/sistema/builds -i 15 -umarcos -pmpbe897"18 DAEMON_ARG="http://localhost/trac/builds -i 15 19 19 20 20 test -x $DAEMON_CMD || exit 0 … … 24 24 case "$1" in 25 25 start) 26 echo -n " Arrancandobitten-slave"26 echo -n "Running bitten-slave" 27 27 start-stop-daemon --start -m --quiet --background --pidfile /var/run/bitten-slave.pid --exec $DAEMON_CMD -- $DAEMON_ARG 28 28 ;; 29 29 stop) 30 echo -n " Parandobitten-slave"30 echo -n "Stopping bitten-slave" 31 31 start-stop-daemon --stop --quiet --pidfile /var/run/bitten-slave.pid --oknodo 32 32 ;; 33 33 *) 34 34 N=/etc/init.d/$NAME 35 echo "Us o: $N {start|stop}" >&235 echo "Usage: $N {start|stop}" >&2 36 36 exit 1 37 37 ;;