Skip to content
Snippets Groups Projects
Commit 9d0b0260 authored by ale's avatar ale
Browse files

Grant the CAP_NET_BIND_SERVICE capability to radiod

parent 19da02b9
No related branches found
No related tags found
1 merge request!1v2.0
...@@ -6,10 +6,11 @@ Wants=etcd.service ...@@ -6,10 +6,11 @@ Wants=etcd.service
[Service] [Service]
User=icecast2 User=icecast2
EnvironmentFile=-/etc/default/autoradio 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 Restart=always
RestartSec=1 RestartSec=1
LimitNOFILE=65535 LimitNOFILE=65535
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install] [Install]
WantedBy=multi-user.target 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). # 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. # Additional options that are passed to specific daemons.
#RADIOD_OPTIONS="--bwlimit=1000" #RADIOD_OPTIONS="--domain= --public-ip= --peer-ip="
#RADIOD_OPTIONS="--interface=eth0" RADIOD_OPTIONS=
RADIOD_OPTIONS="" TRANSCODERD_OPTIONS=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment