|
|
@@ -1,7 +1,7 @@ |
|
|
|
[Unit] |
|
|
|
Description=Eggnogg Plus on a Raspberry Pi |
|
|
|
Require=sound.target |
|
|
|
After=mpv.service |
|
|
|
After=sound.target |
|
|
|
|
|
|
|
[Service] |
|
|
|
Restart=always |
|
|
@@ -12,6 +12,7 @@ EnvironmentFile=/etc/default/eggnogg |
|
|
|
Restart=always |
|
|
|
RestartSec=5s |
|
|
|
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 |
|
|
|
|
|
|
|
[Install] |
|
|
|