2022-07-14 17:55:40 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Open vSwitch IPsec daemon
|
|
|
|
Requires=openvswitch-switch.service
|
|
|
|
After=openvswitch-switch.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
|
2025-01-15 15:00:14 +01:00
|
|
|
Restart=on-failure
|
2025-01-15 15:00:15 +01:00
|
|
|
EnvironmentFile=-/etc/default/openvswitch-ipsec
|
2025-01-15 15:00:13 +01:00
|
|
|
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-monitor \
|
2025-01-15 15:00:15 +01:00
|
|
|
--ike-daemon=strongswan start-ovs-ipsec $OVS_CTL_OPTS
|
2022-07-14 17:55:40 +02:00
|
|
|
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|