-
-
Save mouseos/56197bc21607615c37697ae4530e4b4a to your computer and use it in GitHub Desktop.
Icecast2 multi-instance systemd configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Icecast server - %i | |
After=network-online.target | |
Wants=network.target network-online.target | |
[Service] | |
Type=idle | |
ExecStart=/opt/icecast/bin/icecast -c /opt/icecast/etc/%i.xml | |
User=icecast | |
Group=icecast | |
Restart=on-failure | |
RestartSec=5 | |
StartLimitBurst=3 | |
StartLimitInterval=60s | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment