An explanation of systemd template files:
https://fedoramagazine.org/systemd-template-unit-files/
For you, you should:
cp -a /usr/lib/systemd/system/openvpn-client@.service
/etc/systemd/system/openvpn-client@ibecker2.service
systemctl daemon-reload
systemctl start openvpn-client@ibecker2.service
systemctl enable openvpn-client@ibecker2.service
I don't have a Fedora 27 system so I can't say exactly where your ibecker2.conf
should go.
Probably in /etc/openvpn/client/ if you have that directory, else in
/etc/openvpn/ . Look in
/etc/systemd/system/openvpn-client@ibecker2.service for the ExecStart line. For
Fedora 24 it's:
ExecStart=/usr/sbin/openvpn --daemon --writepid /var/run/openvpn/%i.pid --cd
/etc/openvpn/ --config %i.conf
Which translates to /etc/openvpn/ibecker2.conf because the executable changes
the working directory to /etc/openvpn (--cd /etc/openvpn/).
Bill
On 11/25/2017 7:07 PM, Neal Becker wrote:
Ulf Volmer wrote:
On 23.11.2017 13:34, Neal Becker wrote:
sudo systemctl enable openvpn-client@ibecker2.service
Failed to enable unit: Unit file openvpn-client@ibecker2.service does not
exist.
interesting. Could you post the output of
rpm -ql openvpn|grep service
best regards
Ulf
rpm -ql openvpn|grep service
/usr/lib/systemd/system/openvpn-client@.service
/usr/lib/systemd/system/openvpn-server@.service
[nbecker@nbecker2 xsimd]$ rpm --verify openvpn
Yes, those 2 files are there in /usr/lib/systemd/system
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org