mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
debian: Let *-ctl handle runtime directory.
This causes the /var/run/openvswitch directory being recreated when service "stop" encounters failures, which causes container mount failure after service restart of openvswitch-switch on Ubuntu. The same was done in rhel service. See [1]. [1] 7a65e5a9252a rhel: let *-ctl handle runtime directory Acked-by: Roi Dayan <roid@nvidia.com> Acked-by: Frode Nordahl <fnordahl@ubuntu.com> Signed-off-by: Han Zhou <hzhou@ovn.org> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
parent
3f19558e73
commit
367e0fff23
@ -19,6 +19,3 @@ ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
|
||||
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd \
|
||||
--no-record-hostname \
|
||||
--no-monitor restart $OVS_CTL_OPTS
|
||||
RuntimeDirectory=openvswitch
|
||||
RuntimeDirectoryMode=0755
|
||||
RuntimeDirectoryPreserve=yes
|
||||
|
Loading…
x
Reference in New Issue
Block a user