Created
June 12, 2020 12:17
-
-
Save ale-rinaldi/6ebb88b359431e9f04cf3da3a57d6e27 to your computer and use it in GitHub Desktop.
Icecast2 multi-instance systemd configuration
This file contains 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