summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-20 19:23:03 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2011-01-20 19:26:54 -0800
commitfa7d81f125033b7ed4bd549eb6905918612a6877 (patch)
tree8f64aa75b0e69760076d99fd99f962c3791277bb /scripts
parenta3a0843feebb3c3ef64a73b57c2c6329197539ca (diff)
downloadvyatta-cfg-system-fa7d81f125033b7ed4bd549eb6905918612a6877.tar.gz
vyatta-cfg-system-fa7d81f125033b7ed4bd549eb6905918612a6877.zip
Change for rsyslog reload
Bug 6663
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/system/vyatta_update_logrotate.pl2
1 files changed, 1 insertions, 1 deletions
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