summarylogtreecommitdiffstats
path: root/vpnc@.service
diff options
context:
space:
mode:
authorDavid Flemström2015-09-19 03:09:48 +0200
committerDavid Flemström2015-09-19 03:13:42 +0200
commitc82800dd18bcb5523237b7fe7379479bd1e3c429 (patch)
tree64e5f99765ea8b522663a6da1b9b2d7a40e5f882 /vpnc@.service
downloadaur-vpnc-fortigate.tar.gz
Initial commit
Diffstat (limited to 'vpnc@.service')
-rw-r--r--vpnc@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/vpnc@.service b/vpnc@.service
new file mode 100644
index 000000000000..def8ed1769bd
--- /dev/null
+++ b/vpnc@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=VPNC connection to %i
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/vpnc --pid-file=/run/vpnc@%i.pid /etc/vpnc/%i.conf
+PIDFile=/run/vpnc@%i.pid
+
+[Install]
+WantedBy=multi-user.target