summaryrefslogtreecommitdiff
path: root/pcr/openswan/openswan.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/openswan/openswan.service')
-rwxr-xr-xpcr/openswan/openswan.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/openswan/openswan.service b/pcr/openswan/openswan.service
new file mode 100755
index 000000000..6d899705c
--- /dev/null
+++ b/pcr/openswan/openswan.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Openswan daemon
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/lib/systemd/scripts/ipsec --start
+ExecStop=/usr/lib/systemd/scripts/ipsec --stop
+ExecReload=/usr/lib/systemd/scripts/ipsec --restart
+Restart=always
+
+[Install]
+WantedBy=multi-user.target