summaryrefslogtreecommitdiff
path: root/community/ipsec-tools/ipsec.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-11 00:04:53 -0800
committerroot <root@rshg054.dnsready.net>2013-01-11 00:04:53 -0800
commit4791b75bfebdea97defe1aa27d56b9223e58f6e8 (patch)
treee89b1b8c709b887477f38aaa7cefe78d17bb5803 /community/ipsec-tools/ipsec.service
parente858862e8c8ed2f14352fe6305f64eae0e66d860 (diff)
Fri Jan 11 00:04:53 PST 2013
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