Logrotate is called from crontab. Debian crontab does not include everything in it's path. Therefore reference to these bins need to be absoluut.

Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
Joris van Lieshout 2014-11-08 17:21:43 +01:00 committed by Daan Hoogland
parent a458383d0a
commit 380ecf2253
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
delaycompress
compress
postrotate
invoke-rc.d rsyslog reload > /dev/null
/usr/sbin/invoke-rc.d rsyslog reload > /dev/null
endscript
}
@ -32,6 +32,6 @@
delaycompress
sharedscripts
postrotate
invoke-rc.d rsyslog reload > /dev/null
/usr/sbin/nvoke-rc.d rsyslog reload > /dev/null
endscript
}