Created
April 15, 2025 15:01
-
-
Save vczb/433a3576349d8ed8557c48307b94879c to your computer and use it in GitHub Desktop.
Auto connect Nord VPN San Francisco US
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
#/etc/systemd/system/nordvpn-connect.service | |
[Unit] | |
Description=Connect to NordVPN on boot | |
After=network-online.target | |
Wants=network-online.target | |
Requires=nordvpnd.service | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/bash -c 'export HOME=/home/vini && /usr/bin/nordvpn connect San_Francisco' | |
RemainAfterExit=true | |
User=vini | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment