mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-25 17:27:46 +00:00
2fc34bbd5a
This reverts commit 88bd098f91fdf7ca693018ab7982f680b5c9db92, reversing changes made to 4d798a34940af2eacba73f274ea9260fb57e8452.
22 lines
488 B
Desktop File
22 lines
488 B
Desktop File
[Unit]
|
|
Description=yggdrasil
|
|
Wants=network.target
|
|
Wants=yggdrasil-default-config.service
|
|
After=network.target
|
|
After=yggdrasil-default-config.service
|
|
|
|
[Service]
|
|
Group=yggdrasil
|
|
ProtectHome=true
|
|
ProtectSystem=true
|
|
SyslogIdentifier=yggdrasil
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
|
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
|