summaryrefslogtreecommitdiff
path: root/community/ipsec-tools/ipsec.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/ipsec-tools/ipsec.service')
-rw-r--r--community/ipsec-tools/ipsec.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/ipsec-tools/ipsec.service b/community/ipsec-tools/ipsec.service
index 63db40b22..3a6dea38b 100644
--- a/community/ipsec-tools/ipsec.service
+++ b/community/ipsec-tools/ipsec.service
@@ -3,7 +3,8 @@ Description=Load IPSec Security Policy Database
After=syslog.target network.target
[Service]
-Type=simple
+Type=oneshot
+RemainAfterExit=true
ExecStart=/usr/sbin/setkey -f /etc/ipsec.conf
ExecStop=/usr/sbin/setkey -F -P ; /usr/sbin/setkey -F