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