diff --git a/socks5.service b/socks5.service new file mode 100644 index 0000000..08c6849 --- /dev/null +++ b/socks5.service @@ -0,0 +1,18 @@ +[Unit] +Description=socks5 +After=network.target + +[Service] +ExecStart=/opt/ngrok/socks5 +ExecReload=/bin/kill -HUP $MAINPID +KillMode=process +IgnoreSIGPIPE=true +Restart=always +RestartSec=3 +Type=simple +Environment="PROXY_USER=" +Environment="PROXY_PASSWORD=" +Environment="PROXY_PORT=" + +[Install] +WantedBy=multi-user.target