diff options
Diffstat (limited to 'community/ipsec-tools/ipsec.service')
-rw-r--r-- | community/ipsec-tools/ipsec.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ipsec-tools/ipsec.service b/community/ipsec-tools/ipsec.service new file mode 100644 index 000000000..483a5b58d --- /dev/null +++ b/community/ipsec-tools/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 |