diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2014-04-01 17:26:39 +0200 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2014-04-01 17:26:39 +0200 |
commit | 72eb879255b983286b83678fd62228187fbedbb2 (patch) | |
tree | c49602b3fbf2883cd92eb478dc5f4456007a279c | |
parent | 71a68b82b1d655c286461cfb618176c0b85f7265 (diff) |
Add reload to systemd instance unit
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/openvpn@.service | 1 |
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] |