Add example client config, desktop and service files

This commit is contained in:
Melon 2021-04-24 11:07:57 +01:00
parent 858974f789
commit 793adbed6f
3 changed files with 27 additions and 0 deletions

4
setup/client.cfg Normal file
View File

@ -0,0 +1,4 @@
vpn = wss://example.com
key = 1234
name = example
peers = /usr/share/melonvpn/melonvpnrefreshpeers

7
setup/melonvpn.desktop Executable file
View File

@ -0,0 +1,7 @@
[Desktop Entry]
Categories=Network;VPN;
Icon=melonvpn
Name=Melon VPN
Terminal=false
Type=Application
Exec=/usr/bin/melonvpn --gui

View File

@ -0,0 +1,16 @@
# Melon VPN Daemon
[Unit]
Description=Manage Melon VPN Service
After=network.target
[Service]
WorkingDirectory=/etc/melonvpn/
ExecStart=mono /usr/share/melonvpn/melonvpndaemon
User=root
Group=root
Type=simple
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target