mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
21 lines
577 B
Desktop File
21 lines
577 B
Desktop File
[Unit]
|
|
Description=mesh
|
|
Wants=network-online.target
|
|
Wants=mesh-default-config.service
|
|
After=network-online.target
|
|
After=mesh-default-config.service
|
|
|
|
[Service]
|
|
Group=mesh
|
|
ProtectHome=true
|
|
ProtectSystem=true
|
|
SyslogIdentifier=mesh
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
|
|
ExecStartPre=+-/sbin/modprobe tun
|
|
ExecStart=/usr/bin/mesh -useconffile /etc/mesh.conf -logto /var/log/mesh.log -httpaddress "http://localhost:19019" -wwwroot "/usr/share/riv"
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
TimeoutStopSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|