Bug#1039225: icecast2: proposed systemd unit
I've read the upstream bug report, and I understand their reluctance to
package a systemd unit. I have prepared one based on the linked Fedora
unit file, and I did have to make some modifications for Debian
packaging (change executable and config file path, add user and group IDs).
I have tested this unit file to ensure it provides the same
functionality as the init script.
-- Kevin
[Unit]
Description=Icecast2 streaming media server
After=network.target
[Service]
ExecStart=/usr/bin/icecast2 -c /etc/icecast2/icecast.xml
ExecReload=/usr/bin/kill -HUP $MAINPID
Type=exec
User=icecast2
Group=icecast
[Install]
WantedBy=multi-user.target
Reply to: