Looks like you need a service file. Here is my openvpn.service from a Pi4And whether OpenVPN is running as a server or a client depends on the contents of its configuration file.
Code:
[Unit]Description=OpenVPN serviceAfter=network.target[Service]Type=oneshotRemainAfterExit=yesExecStart=/bin/trueExecReload=/bin/trueWorkingDirectory=/etc/openvpn[Install]WantedBy=multi-user.target
Statistics: Posted by neilgl — Tue Mar 25, 2025 10:51 am