summaryrefslogtreecommitdiff
path: root/libre/ipsec-tools-libre/ipsec.service
blob: 483a5b58dc90fc591719a79a0c494ab5a947d38c (plain)
1
2
3
4
5
6
7
8
9
10
11
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