diff --git a/player/player-back.service b/player/player-back.service new file mode 100644 index 0000000..c2ded19 --- /dev/null +++ b/player/player-back.service @@ -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 diff --git a/player/player-front.service b/player/player-front.service new file mode 100644 index 0000000..6090352 --- /dev/null +++ b/player/player-front.service @@ -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 diff --git a/player/saxophone.service b/player/saxophone.service new file mode 100644 index 0000000..dc6ce7a --- /dev/null +++ b/player/saxophone.service @@ -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