dsnet / udptunnel

Daemon for creating a simple VPN over UDP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

service mode

prxpostern opened this issue · comments

please give me the systemctl script . i need to run it as service in linux.

thanks

Systemd scripts are fairly easy to write these days:

[Unit]
StartLimitIntervalSec=5
StartLimitBurst=0

[Service]
ExecStart=/usr/local/udptunnel/udptunnel
WorkingDirectory=/usr/local/udptunnel
User=root
Group=root
Restart=on-failure

[Install]
WantedBy=multi-user.target