diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2016-08-08 15:54:26 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2016-08-08 15:54:26 -0500 |
commit | b8b1f0f3be5a01f3d47c2a1865113eb076376cc2 (patch) | |
tree | 2f43daa7d63b5f5fefe22db94f13fdd14e3cea6f | |
parent | media-plugins/vdr-rpihddevice: Bump version. Fix rpi EGL linker issue. (diff) | |
download | gentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.tar.gz gentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.tar.bz2 gentoo-b8b1f0f3be5a01f3d47c2a1865113eb076376cc2.zip |
net-misc/radvd: fixing the systemd unit
Package-Manager: portage-2.2.28
-rw-r--r-- | net-misc/radvd/files/radvd.service | 7 |
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 |