4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-08-01 23:03:43 +00:00

Merge pull request #620 from yggdrasil-network/NET_CAP_RAW

Update yggdrasil.service
This commit is contained in:
Neil Alexander
2019-11-25 08:54:12 +00:00
committed by GitHub

View File

@@ -8,7 +8,7 @@ Group=yggdrasil
ProtectHome=true ProtectHome=true
ProtectSystem=true ProtectSystem=true
SyslogIdentifier=yggdrasil SyslogIdentifier=yggdrasil
CapabilityBoundingSet=CAP_NET_ADMIN CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
ExecStartPre=+-/sbin/modprobe tun ExecStartPre=+-/sbin/modprobe tun
ExecStartPre=/bin/sh -ec "if ! test -s /etc/yggdrasil.conf; \ ExecStartPre=/bin/sh -ec "if ! test -s /etc/yggdrasil.conf; \
then umask 077; \ then umask 077; \