diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/radvd/files/radvd.service |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/radvd/files/radvd.service')
-rw-r--r-- | net-misc/radvd/files/radvd.service | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-misc/radvd/files/radvd.service b/net-misc/radvd/files/radvd.service new file mode 100644 index 000000000000..b496267f293b --- /dev/null +++ b/net-misc/radvd/files/radvd.service @@ -0,0 +1,23 @@ +[Unit] +Description=Router advertisement daemon for IPv6 +Documentation=man:radvd(8) +After=network.target + +[Service] +Type=forking +ExecStartPre=/usr/sbin/radvd --configtest +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_SETUID CAP_SETGID CAP_NET_BIND_SERVICE CAP_NET_RAW +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes +NoNewPrivileges=yes + +[Install] +WantedBy=multi-user.target |