mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
* Update upstream OVS debian packaging to be on par with package source in Debian/Ubuntu: - Provide a openvswitch-switch-dpdk package that integrates with the dpdk package in the distributions so that end users can opt into a DPDK-enabled Open vSwitch binary. - Provide systemd service files. - Provide openvswitch-source package for reproducible integrated build of for example OVN. - Stop building shared library and subsequently remove libopenvswitch and libopenvswitch-dev binary packages. Co-authored-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Luca Boccassi <bluca@debian.org> Co-authored-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Co-authored-by: James Page <james.page@ubuntu.com> Signed-off-by: James Page <james.page@ubuntu.com> Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
17 lines
384 B
Plaintext
17 lines
384 B
Plaintext
/var/log/openvswitch/*.log {
|
|
daily
|
|
compress
|
|
sharedscripts
|
|
create 640 root adm
|
|
missingok
|
|
rotate 30
|
|
postrotate
|
|
# Tell Open vSwitch daemons to reopen their log files
|
|
if [ -d /var/run/openvswitch ]; then
|
|
for ctl in /var/run/openvswitch/*.ctl; do
|
|
ovs-appctl -t "$ctl" vlog/reopen 2>/dev/null || :
|
|
done
|
|
fi
|
|
endscript
|
|
}
|