2018-01-28 11:59:22 +00:00
|
|
|
[Unit]
|
|
|
|
Description=yggdrasil
|
|
|
|
Wants=network.target
|
2019-11-14 11:29:27 +00:00
|
|
|
Wants=yggdrasil-default-config.service
|
2018-01-28 11:59:22 +00:00
|
|
|
After=network.target
|
2019-11-14 11:29:27 +00:00
|
|
|
After=yggdrasil-default-config.service
|
2018-01-28 11:59:22 +00:00
|
|
|
|
|
|
|
[Service]
|
2018-12-14 14:25:26 +00:00
|
|
|
Group=yggdrasil
|
2018-01-28 11:59:22 +00:00
|
|
|
ProtectHome=true
|
|
|
|
ProtectSystem=true
|
|
|
|
SyslogIdentifier=yggdrasil
|
2019-11-25 04:54:30 +00:00
|
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
2019-10-23 10:15:57 +00:00
|
|
|
ExecStartPre=+-/sbin/modprobe tun
|
2021-07-04 08:26:17 +00:00
|
|
|
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
2019-02-18 22:31:34 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2018-01-28 11:59:22 +00:00
|
|
|
Restart=always
|
2019-09-27 08:37:34 +00:00
|
|
|
TimeoutStopSec=5
|
2018-01-28 11:59:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|