diff --git a/distributions/debian/jamulus-headless.service b/distributions/debian/jamulus-headless.service index 5cc93eeac9..8cf975d8b3 100644 --- a/distributions/debian/jamulus-headless.service +++ b/distributions/debian/jamulus-headless.service @@ -16,7 +16,7 @@ IOSchedulingPriority=0 #### Change this to publish this server, set genre, location and other parameters. #### See https://jamulus.io/wiki/Command-Line-Options #### -ExecStart=/bin/sh -c '/usr/bin/jamulus-headless -s -n' +ExecStart=/bin/sh -c 'exec /usr/bin/jamulus-headless -s -n' Restart=on-failure diff --git a/distributions/jamulus-server.service b/distributions/jamulus-server.service index e3b281418c..85a1089cda 100644 --- a/distributions/jamulus-server.service +++ b/distributions/jamulus-server.service @@ -8,7 +8,7 @@ Type=simple Restart=always RestartSec=1 User=jamulus -ExecStart=/bin/sh -c '/usr/bin/jamulus -s -n -l /var/log/jamulus -e jamulus.fischvolk.de -g -o "$(uname -n);;"' +ExecStart=/bin/sh -c 'exec /usr/bin/jamulus -s -n -l /var/log/jamulus -e jamulus.fischvolk.de -g -o "$(uname -n);;"' [Install] WantedBy=multi-user.target