summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-08-08 15:54:26 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-08-08 15:54:26 -0500
commitb8b1f0f3be5a01f3d47c2a1865113eb076376cc2 (patch)
tree2f43daa7d63b5f5fefe22db94f13fdd14e3cea6f /net-misc
parentmedia-plugins/vdr-rpihddevice: Bump version. Fix rpi EGL linker issue. (diff)
downloadgentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.tar.gz
gentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.tar.bz2
gentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.zip
net-misc/radvd: fixing the systemd unit
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/radvd/files/radvd.service7
1 files changed, 2 insertions, 5 deletions
diff --git a/net-misc/radvd/files/radvd.service b/net-misc/radvd/files/radvd.service
index a3ac66f84963..b496267f293b 100644
--- a/net-misc/radvd/files/radvd.service
+++ b/net-misc/radvd/files/radvd.service
@@ -4,18 +4,15 @@ Documentation=man:radvd(8)
After=network.target
[Service]
-User=radvd
-Group=radvd
Type=forking
ExecStartPre=/usr/sbin/radvd --configtest
-ExecStart=/usr/sbin/radvd --logmethod stderr --debug 0
+ExecStart=/usr/sbin/radvd --username radvd --logmethod stderr --debug 0
ExecReload=/usr/sbin/radvd --configtest ; \
/bin/kill -HUP $MAINPID
CPUSchedulingPolicy=idle
PIDFile=/run/radvd/radvd.pid
RuntimeDirectory=radvd
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
-AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
+CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_NET_BIND_SERVICE CAP_NET_RAW
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full