Merge pull request #796 from Chaz6/update-systemd-files

Update executable path in systemd service files to match the installation instructions.
This commit is contained in:
Neil Alexander 2021-07-04 09:24:40 +01:00 committed by GitHub
commit 88bd098f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -9,5 +9,5 @@ After=local-fs.target
Type=oneshot
Group=yggdrasil
StandardOutput=file:/etc/yggdrasil.conf
ExecStart=/usr/bin/yggdrasil -genconf
ExecStartPost=/usr/bin/chmod 0640 /etc/yggdrasil.conf
ExecStart=/usr/local/bin/yggdrasil -genconf
ExecStartPost=/usr/local/bin/chmod 0640 /etc/yggdrasil.conf

View File

@ -12,7 +12,7 @@ ProtectSystem=true
SyslogIdentifier=yggdrasil
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
ExecStartPre=+-/sbin/modprobe tun
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
ExecStart=/usr/local/bin/yggdrasil -useconffile /etc/yggdrasil.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
TimeoutStopSec=5