From 60e51f78ae594277c87401b77ddf36a5444356e3 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 8 Feb 2024 12:03:07 -0500 Subject: [PATCH] added vpn client --- os/raspberrypi2-raspbian/systemd/openvpn.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 os/raspberrypi2-raspbian/systemd/openvpn.service diff --git a/os/raspberrypi2-raspbian/systemd/openvpn.service b/os/raspberrypi2-raspbian/systemd/openvpn.service new file mode 100644 index 0000000..fd1cda0 --- /dev/null +++ b/os/raspberrypi2-raspbian/systemd/openvpn.service @@ -0,0 +1,16 @@ +[Unit] +Description=OpenVPN Client +After=network.target + +[Service] +Type=oneshot +Restart=on-failure +WorkingDirectory=/etc/openvpn +EnvironmentFile=/etc/openvpn/openvpn.service.env +ExecStart=/usr/sbin/openvpn --config \ + /etc/openvpn/nordvpn/${CONFIG_FILE} \ + --auth-user-pass ${AUTH_FILE} + + +[Install] +WantedBy=multi-user.target \ No newline at end of file