Commit 8651bb17 authored by ale's avatar ale

Minor fixes to Debian packaging

parent 9d0b0260
......@@ -6,8 +6,7 @@ Wants=etcd.service
[Service]
User=nobody
EnvironmentFile=-/etc/default/autoradio
ExecStart=/usr/bin/transcoderd $ETCD_SERVER $PUBLIC_IP $DOMAIN $TRANSCODERD_OPTIONS
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
ExecStart=/usr/bin/transcoderd $ETCD_OPTIONS $TRANSCODERD_OPTIONS
Restart=always
RestartSec=1
LimitNOFILE=65535
......
......@@ -17,12 +17,6 @@ override_dh_auto_install:
install -m 644 -o root -g root $(CURDIR)/debian/status.xsl \
$(DESTDIR)/usr/share/icecast2/web/status-autoradio.xsl
# Install a sudoers rule for systemctl.
install -d -m 755 -o root -g root $(DESTDIR)/etc/sudoers.d
echo "icecast2 ALL = NOPASSWD: /bin/systemctl [a-z]* icecast2.service" \
> $(DESTDIR)/etc/sudoers.d/autoradio
chmod 0440 $(DESTDIR)/etc/sudoers.d/autoradio
override_dh_installinit:
dh_installinit --name=autoradio
......
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