]> git.proxmox.com Git - mirror_ovs.git/blame - debian/openvswitch-switch.logrotate
Prepare for 2.6.0.
[mirror_ovs.git] / debian / openvswitch-switch.logrotate
CommitLineData
24e81092
JP
1/var/log/openvswitch/*.log {
2 daily
3 compress
4 create 640 root adm
5 delaycompress
6 missingok
7 rotate 30
8 postrotate
9 # Tell Open vSwitch daemons to reopen their log files
11bd0a53
AF
10 if [ -d /var/run/openvswitch ]; then
11 for pidfile in `cd /var/run/openvswitch && echo *.pid`; do
12 ovs-appctl -t "${pidfile%%.pid}" vlog/reopen
13 done
14 fi
24e81092 15 endscript
064af421 16}