Skip to content

Instantly share code, notes, and snippets.

@prikhi
Created August 2, 2018 01:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prikhi/0153b68d12e9e1680e66473baeab295f to your computer and use it in GitHub Desktop.
Save prikhi/0153b68d12e9e1680e66473baeab295f to your computer and use it in GitHub Desktop.
AirVPN Eddie-UI systemd Service
  1. Create config directory: mkdir /etc/airvpn/
  2. Move your Default.xml over: mv ~/.airvpn/Default.xml /etc/airvpn
  3. Create /etc/systemd/system/eddie-ui.service
  4. Enable your -wait-online service
  5. Enable & start the eddie-ui.service unit: systemctl enable eddie-ui.service; systemctl start eddie-ui.service
  6. Verify connection by following log: journalctl -u eddie-ui.service -n50 -f
[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