Date: Saturday, December 26, 2015 @ 12:38:35 Author: seblu Revision: 257295
db-move: moved openvpn from [testing] to [core] (i686, x86_64) Added: openvpn/repos/core-i686/PKGBUILD (from rev 257294, openvpn/repos/testing-i686/PKGBUILD) openvpn/repos/core-i686/openvpn.install (from rev 257294, openvpn/repos/testing-i686/openvpn.install) openvpn/repos/core-i686/openvpn@.service (from rev 257294, openvpn/repos/testing-i686/openvpn@.service) openvpn/repos/core-x86_64/PKGBUILD (from rev 257294, openvpn/repos/testing-x86_64/PKGBUILD) openvpn/repos/core-x86_64/openvpn.install (from rev 257294, openvpn/repos/testing-x86_64/openvpn.install) openvpn/repos/core-x86_64/openvpn@.service (from rev 257294, openvpn/repos/testing-x86_64/openvpn@.service) Deleted: openvpn/repos/core-i686/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch openvpn/repos/core-i686/PKGBUILD openvpn/repos/core-i686/openvpn.install openvpn/repos/core-i686/openvpn@.service openvpn/repos/core-x86_64/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch openvpn/repos/core-x86_64/PKGBUILD openvpn/repos/core-x86_64/openvpn.install openvpn/repos/core-x86_64/openvpn@.service openvpn/repos/testing-i686/ openvpn/repos/testing-x86_64/ -----------------------------------------------------------------------------+ /PKGBUILD | 100 ++++++++++ /openvpn.install | 16 + /openvpn@.service | 20 ++ core-i686/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch | 88 -------- core-i686/PKGBUILD | 56 ----- core-i686/openvpn.install | 8 core-i686/openvpn@.service | 10 - core-x86_64/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch | 88 -------- core-x86_64/PKGBUILD | 56 ----- core-x86_64/openvpn.install | 8 core-x86_64/openvpn@.service | 10 - 11 files changed, 136 insertions(+), 324 deletions(-) Deleted: core-i686/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch =================================================================== --- core-i686/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch 2015-12-26 08:11:22 UTC (rev 257294) +++ core-i686/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,88 +0,0 @@ -From 62b1b34a1230885a37e6108d1c988aff56350c2c Mon Sep 17 00:00:00 2001 -From: David Sommerseth <dav...@redhat.com> -Date: Tue, 13 Oct 2015 11:57:59 +0200 -Subject: [PATCH] Fix systemd errors when openvpn is started when there is no - tty available - -It was discovered that starting openvpn during boot on systemd enabled -systems after commit b131c7b974d9d4d did not work as expected. This is -due to that there is no tty available at that point. - -This patch adds an extra check considering if systemd is available or not. - -Trac: #618 -Reported-by: Ismail Donmez <idon...@suse.com> -Signed-off-by: David Sommerseth <dav...@redhat.com> ---- - src/openvpn/console.c | 11 +++++++---- - src/openvpn/console.h | 3 +++ - src/openvpn/misc.c | 2 +- - 3 files changed, 11 insertions(+), 5 deletions(-) - -diff --git a/src/openvpn/console.c b/src/openvpn/console.c -index d66d408..b0fa417 100644 ---- a/src/openvpn/console.c -+++ b/src/openvpn/console.c -@@ -138,15 +138,14 @@ close_tty (FILE *fp) - - #endif - --#ifdef ENABLE_SYSTEMD -- - /* - * is systemd running - */ - --static bool -+bool - check_systemd_running () - { -+#ifdef ENABLE_SYSTEMD - struct stat c; - - /* We simply test whether the systemd cgroup hierarchy is -@@ -155,9 +154,13 @@ check_systemd_running () - - return (sd_booted() > 0) - && (stat(SYSTEMD_ASK_PASSWORD_PATH, &c) == 0); -- -+#else -+ return false; -+#endif - } - -+#ifdef ENABLE_SYSTEMD -+ - static bool - get_console_input_systemd (const char *prompt, const bool echo, char *input, const int capacity) - { -diff --git a/src/openvpn/console.h b/src/openvpn/console.h -index 268f3fe..e29dd2e 100644 ---- a/src/openvpn/console.h -+++ b/src/openvpn/console.h -@@ -28,6 +28,9 @@ - #include "basic.h" - - bool -+check_systemd_running (); -+ -+bool - get_console_input (const char *prompt, const bool echo, char *input, const int capacity); - - #endif -diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c -index fd1930a..6c85677 100644 ---- a/src/openvpn/misc.c -+++ b/src/openvpn/misc.c -@@ -1058,7 +1058,7 @@ get_user_pass_cr (struct user_pass *up, - { - #ifndef WIN32 - /* did we --daemon'ize before asking for passwords? */ -- if ( !isatty(0) && !isatty(2) ) -+ if ( !isatty(0) && !isatty(2) && !check_systemd_running() ) - { msg(M_FATAL, "neither stdin nor stderr are a tty device, can't ask for %s password. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.", prefix ); } - #endif - --- -1.8.3.1 - Deleted: core-i686/PKGBUILD =================================================================== --- core-i686/PKGBUILD 2015-12-26 08:11:22 UTC (rev 257294) +++ core-i686/PKGBUILD 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Thomas Bächler <tho...@archlinux.org> - -pkgname=openvpn -pkgver=2.3.8 -pkgrel=2 -pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" -arch=(i686 x86_64) -url="http://openvpn.net/index.php/open-source.html" -depends=('openssl' 'lzo' 'iproute2' 'libsystemd') -makedepends=('systemd') -license=('custom') -install=openvpn.install -source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz - http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc - 0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch - openvpn@.service) -sha256sums=('532435eff61c14b44a583f27b72f93e7864e96c95fe51134ec0ad4b1b1107c51' - 'SKIP' - 'a03a22de7cb3bd9ece7ccb041283d4bd17eb898a9e3fe76d0fd1e20fb80a59f3' - '860976d954bd1db95861b95f0ef42e4e80618aa23a9f2aed26d17ee3d09110df') -validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen - -prepare() { - patch -p 1 -d $pkgname-$pkgver < 0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --enable-password-save \ - --mandir=/usr/share/man \ - --enable-iproute2 \ - --enable-systemd - make -} - -package() { - cd "${srcdir}"/$pkgname-$pkgver - # Install openvpn - make DESTDIR="${pkgdir}" install - install -d -m755 "${pkgdir}"/etc/openvpn - # Install examples - install -d -m755 "${pkgdir}"/usr/share/openvpn - cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples - # Install license - install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ - ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ - # Install contrib - install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib - cp -r contrib "${pkgdir}"/usr/share/openvpn - # Install systemd service - install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service -} Copied: openvpn/repos/core-i686/PKGBUILD (from rev 257294, openvpn/repos/testing-i686/PKGBUILD) =================================================================== --- core-i686/PKGBUILD (rev 0) +++ core-i686/PKGBUILD 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=openvpn +pkgver=2.3.9 +pkgrel=1 +pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" +arch=(i686 x86_64) +url="http://openvpn.net/index.php/open-source.html" +depends=('openssl' 'lzo' 'iproute2' 'libsystemd') +makedepends=('systemd') +license=('custom') +install=openvpn.install +source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz + http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc + openvpn@.service) +sha256sums=('2c12fe9ea641ac1291e70322cc500641c84e5903dd4f40bf2eda7e9f209b2f9c' + 'SKIP' + '860976d954bd1db95861b95f0ef42e4e80618aa23a9f2aed26d17ee3d09110df') +validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen + +build() { + cd "${srcdir}"/$pkgname-$pkgver + CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-password-save \ + --mandir=/usr/share/man \ + --enable-iproute2 \ + --enable-systemd + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + # Install openvpn + make DESTDIR="${pkgdir}" install + install -d -m755 "${pkgdir}"/etc/openvpn + # Install examples + install -d -m755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + # Install license + install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ + ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ + # Install contrib + install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib + cp -r contrib "${pkgdir}"/usr/share/openvpn + # Install systemd service + install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service +} Deleted: core-i686/openvpn.install =================================================================== --- core-i686/openvpn.install 2015-12-26 08:11:22 UTC (rev 257294) +++ core-i686/openvpn.install 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,8 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then - echo ">>> easy-rsa has moved into its own package. Run:" - echo ">>> # pacman -S easy-rsa" - fi -} Copied: openvpn/repos/core-i686/openvpn.install (from rev 257294, openvpn/repos/testing-i686/openvpn.install) =================================================================== --- core-i686/openvpn.install (rev 0) +++ core-i686/openvpn.install 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,8 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then + echo ">>> easy-rsa has moved into its own package. Run:" + echo ">>> # pacman -S easy-rsa" + fi +} Deleted: core-i686/openvpn@.service =================================================================== --- core-i686/openvpn@.service 2015-12-26 08:11:22 UTC (rev 257294) +++ core-i686/openvpn@.service 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,10 +0,0 @@ -[Unit] -Description=OpenVPN connection to %i - -[Service] -Type=forking -ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid -PIDFile=/run/openvpn@%i.pid - -[Install] -WantedBy=multi-user.target Copied: openvpn/repos/core-i686/openvpn@.service (from rev 257294, openvpn/repos/testing-i686/openvpn@.service) =================================================================== --- core-i686/openvpn@.service (rev 0) +++ core-i686/openvpn@.service 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,10 @@ +[Unit] +Description=OpenVPN connection to %i + +[Service] +Type=forking +ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid +PIDFile=/run/openvpn@%i.pid + +[Install] +WantedBy=multi-user.target Deleted: core-x86_64/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch =================================================================== --- core-x86_64/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch 2015-12-26 08:11:22 UTC (rev 257294) +++ core-x86_64/0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,88 +0,0 @@ -From 62b1b34a1230885a37e6108d1c988aff56350c2c Mon Sep 17 00:00:00 2001 -From: David Sommerseth <dav...@redhat.com> -Date: Tue, 13 Oct 2015 11:57:59 +0200 -Subject: [PATCH] Fix systemd errors when openvpn is started when there is no - tty available - -It was discovered that starting openvpn during boot on systemd enabled -systems after commit b131c7b974d9d4d did not work as expected. This is -due to that there is no tty available at that point. - -This patch adds an extra check considering if systemd is available or not. - -Trac: #618 -Reported-by: Ismail Donmez <idon...@suse.com> -Signed-off-by: David Sommerseth <dav...@redhat.com> ---- - src/openvpn/console.c | 11 +++++++---- - src/openvpn/console.h | 3 +++ - src/openvpn/misc.c | 2 +- - 3 files changed, 11 insertions(+), 5 deletions(-) - -diff --git a/src/openvpn/console.c b/src/openvpn/console.c -index d66d408..b0fa417 100644 ---- a/src/openvpn/console.c -+++ b/src/openvpn/console.c -@@ -138,15 +138,14 @@ close_tty (FILE *fp) - - #endif - --#ifdef ENABLE_SYSTEMD -- - /* - * is systemd running - */ - --static bool -+bool - check_systemd_running () - { -+#ifdef ENABLE_SYSTEMD - struct stat c; - - /* We simply test whether the systemd cgroup hierarchy is -@@ -155,9 +154,13 @@ check_systemd_running () - - return (sd_booted() > 0) - && (stat(SYSTEMD_ASK_PASSWORD_PATH, &c) == 0); -- -+#else -+ return false; -+#endif - } - -+#ifdef ENABLE_SYSTEMD -+ - static bool - get_console_input_systemd (const char *prompt, const bool echo, char *input, const int capacity) - { -diff --git a/src/openvpn/console.h b/src/openvpn/console.h -index 268f3fe..e29dd2e 100644 ---- a/src/openvpn/console.h -+++ b/src/openvpn/console.h -@@ -28,6 +28,9 @@ - #include "basic.h" - - bool -+check_systemd_running (); -+ -+bool - get_console_input (const char *prompt, const bool echo, char *input, const int capacity); - - #endif -diff --git a/src/openvpn/misc.c b/src/openvpn/misc.c -index fd1930a..6c85677 100644 ---- a/src/openvpn/misc.c -+++ b/src/openvpn/misc.c -@@ -1058,7 +1058,7 @@ get_user_pass_cr (struct user_pass *up, - { - #ifndef WIN32 - /* did we --daemon'ize before asking for passwords? */ -- if ( !isatty(0) && !isatty(2) ) -+ if ( !isatty(0) && !isatty(2) && !check_systemd_running() ) - { msg(M_FATAL, "neither stdin nor stderr are a tty device, can't ask for %s password. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.", prefix ); } - #endif - --- -1.8.3.1 - Deleted: core-x86_64/PKGBUILD =================================================================== --- core-x86_64/PKGBUILD 2015-12-26 08:11:22 UTC (rev 257294) +++ core-x86_64/PKGBUILD 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,56 +0,0 @@ -# $Id$ -# Maintainer: Thomas Bächler <tho...@archlinux.org> - -pkgname=openvpn -pkgver=2.3.8 -pkgrel=2 -pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" -arch=(i686 x86_64) -url="http://openvpn.net/index.php/open-source.html" -depends=('openssl' 'lzo' 'iproute2' 'libsystemd') -makedepends=('systemd') -license=('custom') -install=openvpn.install -source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz - http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc - 0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch - openvpn@.service) -sha256sums=('532435eff61c14b44a583f27b72f93e7864e96c95fe51134ec0ad4b1b1107c51' - 'SKIP' - 'a03a22de7cb3bd9ece7ccb041283d4bd17eb898a9e3fe76d0fd1e20fb80a59f3' - '860976d954bd1db95861b95f0ef42e4e80618aa23a9f2aed26d17ee3d09110df') -validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen - -prepare() { - patch -p 1 -d $pkgname-$pkgver < 0001-Fix-systemd-errors-when-openvpn-is-started-when-ther.patch -} - -build() { - cd "${srcdir}"/$pkgname-$pkgver - CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --enable-password-save \ - --mandir=/usr/share/man \ - --enable-iproute2 \ - --enable-systemd - make -} - -package() { - cd "${srcdir}"/$pkgname-$pkgver - # Install openvpn - make DESTDIR="${pkgdir}" install - install -d -m755 "${pkgdir}"/etc/openvpn - # Install examples - install -d -m755 "${pkgdir}"/usr/share/openvpn - cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples - # Install license - install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ - ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ - # Install contrib - install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib - cp -r contrib "${pkgdir}"/usr/share/openvpn - # Install systemd service - install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service -} Copied: openvpn/repos/core-x86_64/PKGBUILD (from rev 257294, openvpn/repos/testing-x86_64/PKGBUILD) =================================================================== --- core-x86_64/PKGBUILD (rev 0) +++ core-x86_64/PKGBUILD 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=openvpn +pkgver=2.3.9 +pkgrel=1 +pkgdesc="An easy-to-use, robust, and highly configurable VPN (Virtual Private Network)" +arch=(i686 x86_64) +url="http://openvpn.net/index.php/open-source.html" +depends=('openssl' 'lzo' 'iproute2' 'libsystemd') +makedepends=('systemd') +license=('custom') +install=openvpn.install +source=(http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz + http://swupdate.openvpn.net/community/releases/openvpn-${pkgver}.tar.gz.asc + openvpn@.service) +sha256sums=('2c12fe9ea641ac1291e70322cc500641c84e5903dd4f40bf2eda7e9f209b2f9c' + 'SKIP' + '860976d954bd1db95861b95f0ef42e4e80618aa23a9f2aed26d17ee3d09110df') +validpgpkeys=('03300E11FED16F59715F9996C29D97ED198D22A3') # Samuli Seppänen + +build() { + cd "${srcdir}"/$pkgname-$pkgver + CFLAGS="$CFLAGS -DPLUGIN_LIBDIR=\\\"/usr/lib/openvpn\\\"" ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --enable-password-save \ + --mandir=/usr/share/man \ + --enable-iproute2 \ + --enable-systemd + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + # Install openvpn + make DESTDIR="${pkgdir}" install + install -d -m755 "${pkgdir}"/etc/openvpn + # Install examples + install -d -m755 "${pkgdir}"/usr/share/openvpn + cp -r sample/sample-config-files "${pkgdir}"/usr/share/openvpn/examples + # Install license + install -d -m755 "${pkgdir}"/usr/share/licenses/${pkgname}/ + ln -sf /usr/share/doc/${pkgname}/{COPYING,COPYRIGHT.GPL} "${pkgdir}"/usr/share/licenses/${pkgname}/ + # Install contrib + install -d -m755 "${pkgdir}"/usr/share/openvpn/contrib + cp -r contrib "${pkgdir}"/usr/share/openvpn + # Install systemd service + install -D -m644 "${srcdir}"/openvpn@.service "${pkgdir}"/usr/lib/systemd/system/openvpn@.service +} Deleted: core-x86_64/openvpn.install =================================================================== --- core-x86_64/openvpn.install 2015-12-26 08:11:22 UTC (rev 257294) +++ core-x86_64/openvpn.install 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,8 +0,0 @@ -## arg 1: the new package version -## arg 2: the old package version -post_upgrade() { - if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then - echo ">>> easy-rsa has moved into its own package. Run:" - echo ">>> # pacman -S easy-rsa" - fi -} Copied: openvpn/repos/core-x86_64/openvpn.install (from rev 257294, openvpn/repos/testing-x86_64/openvpn.install) =================================================================== --- core-x86_64/openvpn.install (rev 0) +++ core-x86_64/openvpn.install 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,8 @@ +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + if [ $(vercmp 2.3.2-1 $2) -ge 0 ]; then + echo ">>> easy-rsa has moved into its own package. Run:" + echo ">>> # pacman -S easy-rsa" + fi +} Deleted: core-x86_64/openvpn@.service =================================================================== --- core-x86_64/openvpn@.service 2015-12-26 08:11:22 UTC (rev 257294) +++ core-x86_64/openvpn@.service 2015-12-26 11:38:35 UTC (rev 257295) @@ -1,10 +0,0 @@ -[Unit] -Description=OpenVPN connection to %i - -[Service] -Type=forking -ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid -PIDFile=/run/openvpn@%i.pid - -[Install] -WantedBy=multi-user.target Copied: openvpn/repos/core-x86_64/openvpn@.service (from rev 257294, openvpn/repos/testing-x86_64/openvpn@.service) =================================================================== --- core-x86_64/openvpn@.service (rev 0) +++ core-x86_64/openvpn@.service 2015-12-26 11:38:35 UTC (rev 257295) @@ -0,0 +1,10 @@ +[Unit] +Description=OpenVPN connection to %i + +[Service] +Type=forking +ExecStart=/usr/bin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --writepid /run/openvpn@%i.pid +PIDFile=/run/openvpn@%i.pid + +[Install] +WantedBy=multi-user.target