Browse Source

update eggnoggpi service

master
Flutterbrony 3 weeks ago
parent
commit
0881ff0253
3 changed files with 2 additions and 2 deletions
  1. +2
    -1
      debian/eggnoggpi/etc/systemd/system/eggnoggpi.service
  2. +0
    -1
      debian/eggnoggpi/etc/systemd/system/mpv.service
  3. BIN
      eggnoggpi.deb

+ 2
- 1
debian/eggnoggpi/etc/systemd/system/eggnoggpi.service View File

@@ -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]


+ 0
- 1
debian/eggnoggpi/etc/systemd/system/mpv.service View File

@@ -1,6 +1,5 @@
[Unit] [Unit]
Description=mpv audio service Description=mpv audio service
Require=sound.target
After=sound.target After=sound.target


[Service] [Service]


BIN
eggnoggpi.deb View File


Loading…
Cancel
Save