summaryrefslogtreecommitdiff
path: root/community/ipsec-tools/ipsec.service
blob: 63db40b22e06d74a6aab106a387d47d8693ac0ab (plain)
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