summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/openvpn@.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 1bc43c1..93856b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ openvpn (2.3.2-10) UNRELEASED; urgency=medium
* Install tmpfiles.d configuration to create /run/openvpn in
systemd.
+ * Add reload to openvpn@.service.
-- Alberto Gonzalez Iniesta <agi@inittab.org> Mon, 17 Mar 2014 19:40:12 +0100
diff --git a/debian/openvpn@.service b/debian/openvpn@.service
index a7ec1ee..a6834da 100644
--- a/debian/openvpn@.service
+++ b/debian/openvpn@.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=forking
ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --config /etc/openvpn/%i.conf
+ExecReload=/bin/kill -HUP $MAINPID
WorkingDirectory=/etc/openvpn
[Install]