summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_logrotate.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/system/vyatta_update_logrotate.pl')
-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