diff options
Diffstat (limited to 'community/ipsec-tools/ipsec.service')
-rw-r--r-- | community/ipsec-tools/ipsec.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/ipsec-tools/ipsec.service b/community/ipsec-tools/ipsec.service new file mode 100644 index 000000000..63db40b22 --- /dev/null +++ b/community/ipsec-tools/ipsec.service @@ -0,0 +1,11 @@ +[Unit] +Description=Load IPSec Security Policy Database +After=syslog.target network.target + +[Service] +Type=simple +ExecStart=/usr/sbin/setkey -f /etc/ipsec.conf +ExecStop=/usr/sbin/setkey -F -P ; /usr/sbin/setkey -F + +[Install] +WantedBy=multi-user.target |