2018-09-19 17:15:55 -04:00
|
|
|
[Unit]
|
|
|
|
Description=OVS IPsec daemon
|
|
|
|
Requires=openvswitch.service
|
|
|
|
After=openvswitch.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2021-05-12 17:08:08 +02:00
|
|
|
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/openvswitch/default.conf
|
|
|
|
EnvironmentFile=-/etc/sysconfig/openvswitch
|
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=libreswan start-ovs-ipsec $OPTIONS
|
2018-09-19 17:15:55 -04:00
|
|
|
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|