summaryrefslogtreecommitdiff
path: root/community/ipsec-tools/ipsec.service
blob: 3a6dea38b99df86e5190b1bdfc55d4aeaafa4368 (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/sbin/setkey -f /etc/ipsec.conf
ExecStop=/usr/sbin/setkey -F -P ; /usr/sbin/setkey -F

[Install]
WantedBy=multi-user.target