|
@@ -1,7 +1,7 @@ |
|
|
[Unit] |
|
|
[Unit] |
|
|
Description=Eggnogg Plus on a Raspberry Pi |
|
|
Description=Eggnogg Plus on a Raspberry Pi |
|
|
Require=sound.target |
|
|
|
|
|
After=mpv.service |
|
|
After=mpv.service |
|
|
|
|
|
After=sound.target |
|
|
|
|
|
|
|
|
[Service] |
|
|
[Service] |
|
|
Restart=always |
|
|
Restart=always |
|
@@ -12,6 +12,7 @@ EnvironmentFile=/etc/default/eggnogg |
|
|
Restart=always |
|
|
Restart=always |
|
|
RestartSec=5s |
|
|
RestartSec=5s |
|
|
WorkingDirectory=/usr/local/games/eggnoggplus-linux |
|
|
WorkingDirectory=/usr/local/games/eggnoggplus-linux |
|
|
|
|
|
ExecStartPre=bash -c "while :; do if [ -d /run/user/1000/pulse ]; then break; fi; sleep 1; done" |
|
|
ExecStart=/usr/local/games/eggnoggplus-linux/eggnoggplus |
|
|
ExecStart=/usr/local/games/eggnoggplus-linux/eggnoggplus |
|
|
|
|
|
|
|
|
[Install] |
|
|
[Install] |
|
|