mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +00:00
Revert "Merge pull request #796 from Chaz6/update-systemd-files"
This reverts commit88bd098f91
, reversing changes made to4d798a3494
.
This commit is contained in:
parent
88bd098f91
commit
2fc34bbd5a
@ -9,5 +9,5 @@ After=local-fs.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
Group=yggdrasil
|
Group=yggdrasil
|
||||||
StandardOutput=file:/etc/yggdrasil.conf
|
StandardOutput=file:/etc/yggdrasil.conf
|
||||||
ExecStart=/usr/local/bin/yggdrasil -genconf
|
ExecStart=/usr/bin/yggdrasil -genconf
|
||||||
ExecStartPost=/usr/local/bin/chmod 0640 /etc/yggdrasil.conf
|
ExecStartPost=/usr/bin/chmod 0640 /etc/yggdrasil.conf
|
||||||
|
@ -12,7 +12,7 @@ ProtectSystem=true
|
|||||||
SyslogIdentifier=yggdrasil
|
SyslogIdentifier=yggdrasil
|
||||||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
||||||
ExecStartPre=+-/sbin/modprobe tun
|
ExecStartPre=+-/sbin/modprobe tun
|
||||||
ExecStart=/usr/local/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
TimeoutStopSec=5
|
TimeoutStopSec=5
|
||||||
|
Loading…
Reference in New Issue
Block a user