From 9457306a881cfe476ee0abbdba4f6f1eaa80db9d Mon Sep 17 00:00:00 2001 From: heqnx Date: Sat, 5 Jul 2025 12:21:29 +0300 Subject: initial commit on a working icecast2 setup --- templates/systemd/system/ices2.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/systemd/system/ices2.service (limited to 'templates/systemd/system') diff --git a/templates/systemd/system/ices2.service b/templates/systemd/system/ices2.service new file mode 100644 index 0000000..d3a4c2f --- /dev/null +++ b/templates/systemd/system/ices2.service @@ -0,0 +1,17 @@ +[Unit] +Description=ICES2 Icecast source client +After=network.target icecast2.service +Requires=icecast2.service + +[Service] +Type=simple +User=icecast2 +Group=icecast +WorkingDirectory={{ radio_music_dir }} +ExecStart=/usr/bin/ices2 /etc/icecast2/ices-playlist.xml +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3