diff options
author | Silvino Silva <silvino@bk.ru> | 2020-02-17 17:06:11 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-02-17 17:06:11 +0000 |
commit | 2fb3830fec59b6d222770a077ef39bbfdc66491e (patch) | |
tree | 8e1624d6377ad905f6beacbecc79b7d51b643e5b /tools | |
parent | 5da5a46253010f1539bf0630f7271761647dc01d (diff) | |
download | doc-2fb3830fec59b6d222770a077ef39bbfdc66491e.tar.gz |
fix logrotate syslog-ng call
Diffstat (limited to 'tools')
-rw-r--r-- | tools/conf/etc/logrotate.conf | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/conf/etc/logrotate.conf b/tools/conf/etc/logrotate.conf index 549bd7f..ee85347 100644 --- a/tools/conf/etc/logrotate.conf +++ b/tools/conf/etc/logrotate.conf @@ -104,7 +104,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -224,7 +224,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -233,7 +233,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -246,7 +246,7 @@ include /etc/logrotate.d notifempty maxsize 5M postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -255,7 +255,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -264,7 +264,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -273,7 +273,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -282,7 +282,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -291,7 +291,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -300,7 +300,7 @@ include /etc/logrotate.d delaycompress compress postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -310,7 +310,7 @@ include /etc/logrotate.d compress olddir /var/log/old/nginx postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } @@ -320,6 +320,6 @@ include /etc/logrotate.d compress olddir /var/log/old/nginx postrotate - /etc/rc.d/syslog-ng reload >/dev/null + /sbin/syslog-ng-ctl reload >/dev/null endscript } |