mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-20 23:17:30 +00:00
22 lines
511 B
Desktop File
22 lines
511 B
Desktop File
[Unit]
|
|
Description=yggdrasil
|
|
Wants=network-online.target
|
|
Wants=yggdrasil-default-config.service
|
|
After=network-online.target
|
|
After=yggdrasil-default-config.service
|
|
|
|
[Service]
|
|
Group=yggdrasil
|
|
ProtectHome=true
|
|
ProtectSystem=true
|
|
SyslogIdentifier=yggdrasil
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
|
|
ExecStartPre=+-/sbin/modprobe tun
|
|
ExecStart=/usr/bin/yggdrasil -useconffile /etc/yggdrasil.conf
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
TimeoutStopSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|