summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/rsyslog/files/7-stable/rsyslog.logrotate')
-rw-r--r--app-admin/rsyslog/files/7-stable/rsyslog.logrotate6
1 files changed, 3 insertions, 3 deletions
diff --git a/app-admin/rsyslog/files/7-stable/rsyslog.logrotate b/app-admin/rsyslog/files/7-stable/rsyslog.logrotate
index ba8c945351f1..df4153fed2af 100644
--- a/app-admin/rsyslog/files/7-stable/rsyslog.logrotate
+++ b/app-admin/rsyslog/files/7-stable/rsyslog.logrotate
@@ -7,7 +7,7 @@
delaycompress
compress
postrotate
- /etc/init.d/rsyslog reload &>/dev/null || true
+ kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null || true
endscript
}
@@ -32,6 +32,6 @@
delaycompress
sharedscripts
postrotate
- /etc/init.d/rsyslog reload &>/dev/null || true
+ kill -HUP $(cat /run/rsyslogd.pid) &>/dev/null || true
endscript
-} \ No newline at end of file
+}