add systemd service.
This commit is contained in:
parent
a33f94d5af
commit
4e04bec8ad
3 changed files with 33 additions and 0 deletions
11
player/player-back.service
Normal file
11
player/player-back.service
Normal 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
|
11
player/player-front.service
Normal file
11
player/player-front.service
Normal 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
11
player/saxophone.service
Normal 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
|
Loading…
Reference in a new issue