mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
Create wireproxy.service
This commit is contained in:
parent
e4909d0abb
commit
94c1c03d67
1 changed files with 18 additions and 0 deletions
18
systemd/wireproxy.service
Normal file
18
systemd/wireproxy.service
Normal file
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=Wireproxy socks5/http tunnel
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
#Uncomment and/or change these if you don't want to run Wireproxy as root
|
||||
#User=wireproxy
|
||||
#Group=wireproxy
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
ExecStartPre=/opt/wireproxy/wireproxy -n -c /etc/wireproxy.conf
|
||||
ExecStart=/opt/wireproxy/wireproxy -c /etc/wireproxy.conf
|
||||
SyslogIdentifier=wireproxy
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue