summaryrefslogtreecommitdiff
path: root/libre/ipsec-tools-libre/ipsec.service
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-04 21:52:02 -0600
commitcd298e9e8d80d387472058ff4b089f0ee509d644 (patch)
treed00e711db4fa42f10698791204a1e64ba5611f3c /libre/ipsec-tools-libre/ipsec.service
parent64e1664807a6e37d4fdfc35d271028104b54c4a1 (diff)
parent91bd98130ae07e48bd945b0b87e51a117c29ad6f (diff)
updating my branches
Diffstat (limited to 'libre/ipsec-tools-libre/ipsec.service')
-rw-r--r--libre/ipsec-tools-libre/ipsec.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/ipsec-tools-libre/ipsec.service b/libre/ipsec-tools-libre/ipsec.service
new file mode 100644
index 000000000..483a5b58d
--- /dev/null
+++ b/libre/ipsec-tools-libre/ipsec.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Load IPSec Security Policy Database
+After=syslog.target network.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=/usr/bin/setkey -f /etc/ipsec.conf
+ExecStop=/usr/bin/setkey -F -P ; /usr/bin/setkey -F
+
+[Install]
+WantedBy=multi-user.target