#
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
# Authors:
# * Pascal Bleser
# * http://pyn00b.blogspot.be/2012/11/life-with-systemd-part-2.html
# * Werner Fink for the postfix.service file
# * Arjan ten Hoopen for modifications for ices
#
# Description:
#
#  Used to start the Ices server for a given stream.
#

[Unit]
Description=Ices Server for Arjan
Requires=icecast.service
After=icecast.service

[Service]
ExecStart=/tenhoopen/bin/ices -B -c /etc/ices/Arjan/Arjan.xml
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID
Type=forking
PIDFile=/var/log/ices/Arjan/ices.pid

[Install]
WantedBy=multi-user.target