From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] systemd + openvpn
Date: Wed, 11 Feb 2015 14:16:14 -0500 [thread overview]
Message-ID: <CAGfcS_nFgqs+RWoZPyC-4sfLdJvqa4wm=ZDWHXCg8C_HORumBQ@mail.gmail.com> (raw)
In-Reply-To: <20150211185844.GA31069@syscon7>
On Wed, Feb 11, 2015 at 1:58 PM, Joseph <syscon780@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
next prev parent reply other threads:[~2015-02-11 19:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-11 18:58 [gentoo-user] systemd + openvpn Joseph
2015-02-11 19:16 ` Rich Freeman [this message]
2015-02-11 19:35 ` Joseph
2015-02-11 21:52 ` [gentoo-user] " walt
2015-02-11 22:38 ` Joseph
2015-02-11 23:26 ` walt
2015-02-11 23:52 ` Joseph
2015-02-12 0:26 ` Rich Freeman
2015-02-13 4:37 ` Joseph
2015-02-13 11:50 ` Rich Freeman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGfcS_nFgqs+RWoZPyC-4sfLdJvqa4wm=ZDWHXCg8C_HORumBQ@mail.gmail.com' \
--to=rich0@gentoo.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox