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