mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
rhel, debian: Add missing restart policy to ipsec service.
Currently, if openvswitch-ipsec service will die for any reason it will not be restarted. At the same time, that will prevent updating tunnel configuration and prohibit adding new nodes in OVN clusters, for example. Add the 'on-failure' restart policy, so it behaves the same as all other OVS daemons. Acked-by: Frode Nordahl <fnordahl@ubuntu.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
parent
656c95e133
commit
fe1d48dba2
1
debian/openvswitch-ipsec.service
vendored
1
debian/openvswitch-ipsec.service
vendored
@ -6,6 +6,7 @@ After=openvswitch-switch.service
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-monitor \
|
||||
--ike-daemon=strongswan start-ovs-ipsec
|
||||
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
|
||||
|
@ -6,6 +6,7 @@ After=openvswitch.service
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/openvswitch/ovs-monitor-ipsec.pid
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-monitor \
|
||||
--ike-daemon=libreswan start-ovs-ipsec
|
||||
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop-ovs-ipsec
|
||||
|
Loading…
x
Reference in New Issue
Block a user