5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 07:10:28 +00:00

Add ExecReload for SIGHUP

This commit is contained in:
Neil Alexander 2019-02-18 22:31:34 +00:00
parent 1192ceaf68
commit 24cf4b9d2b
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -14,6 +14,7 @@ ExecStartPre=/bin/sh -ec "if ! test -s /etc/yggdrasil.conf; \
echo 'WARNING: A new /etc/yggdrasil.conf file has been generated.'; \
fi"
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
[Install]