diff --git a/systemd/anylink.service b/systemd/anylink.service new file mode 100644 index 0000000..29e6661 --- /dev/null +++ b/systemd/anylink.service @@ -0,0 +1,13 @@ +[Unit] +Description=VPN Server Service +After=network.target + +[Service] +Type=simple +User=root +WorkingDirectory= /usr/local/anylink-deploy +Restart=on-failure +RestartSec=5s +ExecStart=/usr/local/anylink-deploy/anylink -conf="conf/server.toml" +[Install] +WantedBy=multi-user.target