1 2 3 4 5 6 7 8 9 10 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