aboutsummaryrefslogtreecommitdiffstats
path: root/init/systemd/strongswan.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'init/systemd/strongswan.service.in')
-rw-r--r--init/systemd/strongswan.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
new file mode 100644
index 000000000..e8dc5e819
--- /dev/null
+++ b/init/systemd/strongswan.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=strongSwan IPsec
+After=syslog.target
+
+[Service]
+ExecStart=@SBINDIR@/ipsec start --nofork
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target