5 .
/etc
/conf.d
/headphones
9 stat_busy
"Starting Headphones"
11 if [ -f $HP_PIDFILE ]; then
14 echo "Headphones is already running: $PID"
16 su
- $HP_USER -c "$HP_PYTHON $HP_BIN -q -d --config $HP_CONF --port $HP_PORT --pidfile $HP_PIDFILE" -s /bin
/sh
26 stat_busy
"Stopping Headphones"
28 if [ -f $HP_PIDFILE ]; then
43 echo "usage: $0 {start|stop|restart}"