Rebuild rego-tunnel-linux with systemd as init
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
17
apps/rego-tunnel-linux/source/rego-vpn.service
Normal file
17
apps/rego-tunnel-linux/source/rego-vpn.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Rego VPN GUI Services
|
||||
After=network.target dbus.service
|
||||
Wants=dbus.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=DISPLAY=:1
|
||||
Environment=NOVNC_PORT=8806
|
||||
Environment=VNC_PASSWORD=vpnpass
|
||||
ExecStartPre=/usr/local/bin/rego-vpn-setup.sh
|
||||
ExecStart=/usr/local/bin/rego-vpn-gui.sh
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user