corrected logrotate config for rsyslog to send -HUP after log rotation
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
delaycompress
|
||||
compress
|
||||
postrotate
|
||||
invoke-rc.d rsyslog rotate > /dev/null
|
||||
/etc/init.d/rsyslog reload > /dev/null
|
||||
endscript
|
||||
}
|
||||
|
||||
@@ -32,6 +32,6 @@
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
invoke-rc.d rsyslog rotate > /dev/null
|
||||
/etc/init.d/rsyslog reload > /dev/null
|
||||
endscript
|
||||
}
|
||||
|
||||
2
Makefile
2
Makefile
@@ -69,7 +69,7 @@ URL = https://www.rsyslog.com/
|
||||
REPO = main
|
||||
BRIEF = RSYSLOG is the rocket-fast system for log processing
|
||||
DESC = RSYSLOG is the rocket-fast system for log processing
|
||||
SNAPVER = 2
|
||||
SNAPVER = 3
|
||||
|
||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||
|
||||
@@ -37,7 +37,6 @@ case "$1" in
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
|
||||
status)
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" || exit 1
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user