2023-12-18
-
Setting up a systemd service for openvpn Create a systemd service file in the path
/lib/systemd/system/openvpn-vinay.service
with the following contents wherevinay.ovpn
is the openvpn cert file within the location.Description=To access deeproot office infrastructure After=multi-user.target [Service] ExecStart=sudo openvpn /etc/openvpn/vinay.ovpn [Install] WantedBy=multi-user.target