wireproxy/systemd/wireproxy.service
villepeh 05c8493981
Provide an example systemd service file (#77)
* Create README.md

* Create wireproxy.service

* Update README.md
2023-07-15 20:39:33 +01:00

18 lines
455 B
Desktop File

[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