Commit 9d0b0260 authored by ale's avatar ale

Grant the CAP_NET_BIND_SERVICE capability to radiod

parent 19da02b9
Pipeline #2707 passed with stages
in 4 minutes and 11 seconds
......@@ -6,10 +6,11 @@ Wants=etcd.service
[Service]
User=icecast2
EnvironmentFile=-/etc/default/autoradio
ExecStart=/usr/bin/radiod $ETCD_SERVER $PUBLIC_IP $INTERFACE $RADIOD_OPTIONS
ExecStart=/usr/bin/radiod $ETCD_OPTIONS $RADIOD_OPTIONS
Restart=always
RestartSec=1
LimitNOFILE=65535
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target
# Set your base domain name here.
#DOMAIN="--domain="
# Set your public IP if necessary (specify multiple times for v4/v6).
#PUBLIC_IP="--public-ip="
# Set the IP address that is advertised to peers.
PEER_IP="--peer-ip="
# Set the etcd servers to connect to (default: localhost:2379).
ETCD_SERVER="--etcd=http://localhost:2379"
ETCD_OPTIONS="--etcd=http://localhost:2379"
# Additional options that are passed to specific daemons.
#RADIOD_OPTIONS="--bwlimit=1000"
#RADIOD_OPTIONS="--interface=eth0"
RADIOD_OPTIONS=""
#RADIOD_OPTIONS="--domain= --public-ip= --peer-ip="
RADIOD_OPTIONS=
TRANSCODERD_OPTIONS=
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment