18 lines
358 B
Desktop File
18 lines
358 B
Desktop File
[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
|