[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/ui" ExecReload=/bin/kill -HUP $MAINPID Restart=always TimeoutStopSec=5 [Install] WantedBy=multi-user.target