diff options
author | Ben Pfaff <blp@nicira.com> | 2012-03-22 10:20:44 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-03-22 10:34:16 -0700 |
commit | 57250b7a198a097ecf7e89bc674cda3061118759 (patch) | |
tree | 6c541b35413c66fa7089ca9b3e070137ff50ddbb /debian | |
parent | e835a32748f32eb4f793bf6571c936beb8d7ba0b (diff) |
debian: Fix log rotation.
Commit 24e81092a1 (debian: Bring Debian packaging in-line with new file
locations) introduced an ambiguous "--t" option invoking ovs-appctl, so
ovs-vswitchd and ovsdb-server were not reopening their log files following
log rotation. This fixes the problem by correct the option name.
Reported-by: Paul Ingram <paul@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/openvswitch-switch.logrotate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/openvswitch-switch.logrotate b/debian/openvswitch-switch.logrotate index d72d2308..6620a094 100644 --- a/debian/openvswitch-switch.logrotate +++ b/debian/openvswitch-switch.logrotate @@ -8,10 +8,10 @@ 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 + ovs-appctl -t ovs-vswitchd vlog/reopen fi if [ -e /var/run/openvswitch/ovsdb-server.pid ]; then - ovs-appctl --t ovsdb-server vlog/reopen + ovs-appctl -t ovsdb-server vlog/reopen fi endscript } |