summaryrefslogtreecommitdiff
path: root/debian/openvpn@.service
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2014-09-12 12:52:30 +0200
committerAlberto Gonzalez Iniesta <agi@inittab.org>2014-09-12 13:44:57 +0200
commit1f5bd7321e8029fa05f9e7f46a9a9a2e7568656f (patch)
treecde9313180cb2cf579556caa6fca5d6bdebbb96a /debian/openvpn@.service
parent98f974e98ad20013e5dc7cede60fcacf72524cee (diff)
First works to improve systemd integration
Add openvpn-generator to mimic AUTOSTART feature from SysV init script
Diffstat (limited to 'debian/openvpn@.service')
-rw-r--r--debian/openvpn@.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/openvpn@.service b/debian/openvpn@.service
index a6834da..be47429 100644
--- a/debian/openvpn@.service
+++ b/debian/openvpn@.service
@@ -1,6 +1,7 @@
[Unit]
Description=OpenVPN connection to %i
-After=network.target
+PartOf=openvpn.service
+ReloadPropagatedFrom=openvpn.service
[Service]
Type=forking