[svn r877] gmyth-dbus configure.ac: package renamed from myth-dbus to gmyth-dbus
4 PROGRAM_BIN=/usr/bin/gms.py
5 PIDFILE=/var/run/gms.pid
6 LOGFILE=/var/log/gms.log
8 test -x $PROGRAM_BIN || exit 0
12 . /lib/lsb/init-functions
17 echo -n "Starting $PROGRAM_NAME: "
22 if ps ax | grep -q "^$PID"
24 echo "$PROGRAM_NAME already running."
27 $PROGRAM_BIN -d > $LOGFILE 2> $LOGFILE
31 $PROGRAM_BIN -d > $LOGFILE 2> $LOGFILE
37 echo -n "Stopping $PROGRAM_NAME: "
41 if ps -p "$PID" > /dev/null
48 echo "No $PROGRAM_NAME found running; no killed."
59 log_success_msg "Usage: $0 {stop|start|restart}"