summaryrefslogtreecommitdiff
path: root/debian/openvswitch-ipsec.service
blob: 608a6a61885fccc7d1699b8caf16b4505eb706c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Open vSwitch IPsec daemon
Requires=openvswitch-switch.service
After=openvswitch-switch.service

[Service]
Type=forking
PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
                    --ike-daemon=strongswan start-ovs-ipsec
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec

[Install]
WantedBy=multi-user.target