diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2014-04-16 18:46:01 +0200 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2014-04-16 18:46:01 +0200 |
commit | 5f171919d858a425739d1781c4434bab761b36c8 (patch) | |
tree | d8dc8c1efe289c84e33be70d37a03f60e0322204 /debian/openvpn.service | |
parent | e5caec6bb07020a3e552fc78f679e0517c4569cf (diff) |
Initial systemd .service
Diffstat (limited to 'debian/openvpn.service')
-rw-r--r-- | debian/openvpn.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/openvpn.service b/debian/openvpn.service new file mode 100644 index 0000000..b76e36e --- /dev/null +++ b/debian/openvpn.service @@ -0,0 +1,16 @@ +[Unit] +Description=OpenVPN service +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/usr/sbin/openvpn-systemd-helper start +ExecStop=/usr/sbin/openvpn-systemd-helper stop +ExecReload=/usr/sbin/openvpn-systemd-helper reload +WorkingDirectory=/etc/openvpn + +[Install] +WantedBy=multi-user.target + + |