add systemd service.

This commit is contained in:
j 2023-11-08 23:31:06 +01:00
parent a33f94d5af
commit 4e04bec8ad
3 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Unit]
Description=player
[Service]
Type=simple
Restart=always
KillSignal=SIGINT
ExecStart=/srv/pandora/t_for_time/player/player.py --mode peer--playlist /srv/t_for_time/render/back.m3u
[Install]
WantedBy=default.target

View file

@ -0,0 +1,11 @@
[Unit]
Description=player
[Service]
Type=simple
Restart=always
KillSignal=SIGINT
ExecStart=/srv/pandora/t_for_time/player/player.py --mode main --playlist /srv/t_for_time/render/front.m3u
[Install]
WantedBy=default.target

11
player/saxophone.service Normal file
View file

@ -0,0 +1,11 @@
[Unit]
Description=saxophone loop
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/mpv --quiet --loop /srv/t_for_time/render/Saxophone-5.1.mp4
KillSignal=SIGINT
[Install]
WantedBy=default.target