debian/icecast2.service
raw| 1 | [Unit] |
| 2 | Description=Icecast streaming media server |
| 3 | Documentation=man:icecast2(1) file:/usr/share/doc/icecast2/index.html |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | User=icecast2 |
| 8 | Group=icecast |
| 9 | ExecStart=/usr/bin/icecast2 -c /etc/icecast2/icecast.xml |
| 10 | ExecReload=/usr/bin/kill -HUP $MAINPID |
| 11 | Restart=on-failure |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |