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.'; \ echo 'WARNING: A new /etc/yggdrasil.conf file has been generated.'; \
fi" fi"
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always Restart=always
[Install] [Install]