forked from pool/openvswitch
Marcus Meissner
1c3f3a7814
- Rewrite the package based on the debian version instead * current package was tied to xenserver config without even requiring it * instead of one big package depending even on qt4, there are -switch, -controller, -test subpackages now OBS-URL: https://build.opensuse.org/request/show/107677 OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=7
18 lines
437 B
Plaintext
18 lines
437 B
Plaintext
/var/log/openvswitch/*.log {
|
|
daily
|
|
compress
|
|
create 640 root adm
|
|
delaycompress
|
|
missingok
|
|
rotate 30
|
|
postrotate
|
|
# Tell Open vSwitch daemons to reopen their log files
|
|
if [ -e /var/run/openvswitch/ovs-vswitchd.pid ]; then
|
|
ovs-appctl --t ovs-vswitchd vlog/reopen
|
|
fi
|
|
if [ -e /var/run/openvswitch/ovsdb-server.pid ]; then
|
|
ovs-appctl --t ovsdb-server vlog/reopen
|
|
fi
|
|
endscript
|
|
}
|