- Create config directory:
mkdir /etc/airvpn/
- Move your
Default.xml
over:mv ~/.airvpn/Default.xml /etc/airvpn
- Create
/etc/systemd/system/eddie-ui.service
- Enable your
-wait-online
service - Enable & start the
eddie-ui.service
unit:systemctl enable eddie-ui.service; systemctl start eddie-ui.service
- Verify connection by following log:
journalctl -u eddie-ui.service -n50 -f
Created
August 2, 2018 01:22
-
-
Save prikhi/0153b68d12e9e1680e66473baeab295f to your computer and use it in GitHub Desktop.
AirVPN Eddie-UI systemd Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
# If you use VPN-over-TOR, change both to `network-online.target tor.service` | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
Type=simple | |
ExecStart=eddie-ui --cli --batch path=/etc/airvpn/ | |
Restart=always | |
RestartSec=5s | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment