mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 16:03:59 +01:00
Fixed ubuntu init script as per #2446
This commit is contained in:
@@ -164,7 +164,7 @@ start_headphones () {
|
|||||||
handle_updates
|
handle_updates
|
||||||
if ! is_running; then
|
if ! is_running; then
|
||||||
log_daemon_msg "Starting $DESC"
|
log_daemon_msg "Starting $DESC"
|
||||||
start-stop-daemon -o -d "$APP_PATH" -c "$RUN_AS" --start "$EXTRA_SSD"_OPTS --pidfile "$PID_FILE" --exec "$DAEMON" -- "$DAEMON_OPTS"
|
start-stop-daemon -o -d $APP_PATH -c $RUN_AS --start $EXTRA_SSD_OPTS --pidfile $PID_FILE --exec $DAEMON -- $DAEMON_OPTS
|
||||||
check_retval
|
check_retval
|
||||||
else
|
else
|
||||||
log_success_msg "$DESC: already running (pid $PID)"
|
log_success_msg "$DESC: already running (pid $PID)"
|
||||||
|
|||||||
Reference in New Issue
Block a user