Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenvSwitch logrotate: Use ctl file path as target in ovs-appctl to r…
…eset logs Presently, logrotate script, searches for the pid files in /var/log/openvswitch and passes the pid file name (without .pid) as target to ovs-appctl. This approach doesn't work for OVN DB servers since the ctl files are generated as "ovnnb_db.ctl" and "ovnsb_db.ctl". So search for the .ctl files instead and use them as target to ovs-appctl. Suggested-by: Ben Pfaff <[email protected]> Signed-off-by: Numan Siddique <[email protected]> Signed-off-by: Ben Pfaff <[email protected]> Acked-by: Mark Michelson <[email protected]>
- Loading branch information