From 5cd567e34183b13c69915cd2ba7bbdb72b857fee Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 20 Jan 2011 19:23:03 -0800 Subject: Change for rsyslog reload Bug 6663 (cherry picked from commit fa7d81f125033b7ed4bd549eb6905918612a6877) --- scripts/system/vyatta_update_logrotate.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/system/vyatta_update_logrotate.pl b/scripts/system/vyatta_update_logrotate.pl index 6e5c20cd..a3a879ba 100755 --- a/scripts/system/vyatta_update_logrotate.pl +++ b/scripts/system/vyatta_update_logrotate.pl @@ -35,7 +35,7 @@ $log_file { rotate $files size=${size}k postrotate - kill -HUP `cat /var/run/rsyslogd.pid` + invoke-rc.d rsyslog reload >/dev/null endscript } EOF -- cgit v1.2.3