We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da91415 commit 3d49659Copy full SHA for 3d49659
1 file changed
services/LinuxProxyChanger.service
@@ -0,0 +1,16 @@
1
+[Unit]
2
+Description=LinuxProxyChanger
3
+After=network.target
4
+
5
+[Service]
6
+Type=simple
7
+WorkingDirectory=/opt/Proxy_Changer/
8
+User=root
9
+Group=root
10
+Restart=on-failure
11
+RestartSec=5s
12
+ExecStart=/usr/bin/screen -DmS LinuxProxyChanger /opt/Proxy_Changer/LinuxProxyChanger
13
+ExecStop=/usr/bin/screen -S LinuxProxyChanger -X quit
14
15
+[Install]
16
+WantedBy=multi-user.target
0 commit comments