I can launch OpenVPN and point it at the config file and everything works fine, such as:
sudo openvpn /etc/openvpn/myvpn.conf
but when I try start the service with
sudo /etc/init.d/openvpn start
All I get is the output in syslog:
Jun 23 21:02:30 pc systemd: Starting OpenVPN service... Jun 23 21:02:30 pc systemd: Started OpenVPN service.
But it is lying to me, there is no openvpn service running:
gk@pc:/etc/openvpn$ ps -aux | grep openvpn gk 15456 0.0 0.0 13688 2128 pts/0 S+ 21:18 0:00 grep --color=auto openvpn
No other openvpn processes running. How can I start the service?
I note with some hilarity that inside /lib/systemd/system/openvpn.service there is:
[Service] Type=oneshot RemainAfterExit=yes ExecStart=/bin/true ExecReload=/bin/true WorkingDirectory=/etc/openvpn
I'm pretty sure /bin/true ISNT my openvpn client application. Is this why openvpn client doesn't work from the command line on Ubuntu 15.04?