On Wed, Feb 11, 2015 at 1:58 PM, Joseph <syscon...@gmail.com> wrote:
> How do I start and stop "systemd" services, I would imagine systemd works
> the same across all distros.

You run systemd start <service> - that is the same on all distros
(well, if they're not writing fancy wrappers around it or whatever -
Gentoo follows upstream).

> My openvpn server is running on Gentoo but client openvpn I setup on Fedora
> 21 (as the computer is old and slow).
>
> Normally I would create configuration files in /etc/openvpn/
> and run:
> /etc/init.d/ln -s openvpn.client1 openvpn
> /etc/init.d/openvpn.client1 start
>
> But on Fedora when I do systemctl enable openvpn@eeepc.service

I ended up having to add the following to my unit:
ExecStartPre=-/bin/mkdir -p /dev/net
ExecStartPre=-/bin/mknod /dev/net/tun c 10 200

I forget if that is reported somewhere, fixed upstream, etc.  It has
been a while since I studied tap/tun so it might also not be necessary
in some configurations.

-- 
Rich

Reply via email to