diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-08-09 06:55:47 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-08-09 06:55:47 +0000 |
commit | d65397ed89042b3adbf504948b08fbdbbec047ab (patch) | |
tree | 36f02f7c7337375ad97f11c59c28b8376a863d22 /net-misc/vpnc | |
parent | global use flag "git" (diff) | |
download | gentoo-2-d65397ed89042b3adbf504948b08fbdbbec047ab.tar.gz gentoo-2-d65397ed89042b3adbf504948b08fbdbbec047ab.tar.bz2 gentoo-2-d65397ed89042b3adbf504948b08fbdbbec047ab.zip |
net-misc/vpnc: Fix calls of up/down scripts in systemD unit
(Portage version: 2.2.0_alpha195/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'net-misc/vpnc')
-rw-r--r-- | net-misc/vpnc/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/vpnc/files/vpnc.service | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/net-misc/vpnc/ChangeLog b/net-misc/vpnc/ChangeLog index 50d7789a27bc..eaa6b700a535 100644 --- a/net-misc/vpnc/ChangeLog +++ b/net-misc/vpnc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/vpnc # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.117 2013/08/07 20:20:46 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/vpnc/ChangeLog,v 1.118 2013/08/09 06:55:47 jlec Exp $ + + 09 Aug 2013; Justin Lecher <jlec@gentoo.org> files/vpnc.service: + Fix calls of up/down scripts in systemD unit *vpnc-0.5.3_p527-r1 (07 Aug 2013) diff --git a/net-misc/vpnc/files/vpnc.service b/net-misc/vpnc/files/vpnc.service index afd6caae68f0..ce1e3683f4ec 100644 --- a/net-misc/vpnc/files/vpnc.service +++ b/net-misc/vpnc/files/vpnc.service @@ -10,12 +10,11 @@ Type=forking EnvironmentFile=/etc/vpnc/%i.conf PIDFile=/run/vpnc/%i.pid -ExecPreStart=/etc/vpnc/scripts.d/%i-preup.sh +ExecStartPre=-/etc/vpnc/scripts.d/%i-preup.sh ExecStart=/usr/sbin/vpnc --pid-file /run/vpnc/%i.pid -ExecPostStart=/etc/vpnc/scripts.d/%i-postup.sh +ExecStartPost=-/etc/vpnc/scripts.d/%i-postup.sh -ExecPreStop=/etc/vpnc/scripts.d/%i-predown.sh -ExecPostStop=/etc/vpnc/scripts.d/%i-postdown.sh +ExecStopPost=-/etc/vpnc/scripts.d/%i-postdown.sh [Install] WantedBy=multi-user.target |