Add reload to systemd instance unit

parent 71a68b82
......@@ -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
......
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment