Rebuild rego-tunnel-linux with systemd as init
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-25 01:08:20 +00:00
parent 06662a294b
commit a17fe5843d
7 changed files with 121 additions and 3 deletions

View 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