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 8378485e56
commit 1e1cc11d9a
3 changed files with 4 additions and 4 deletions

View File

@ -22,6 +22,6 @@
compress
delaycompress
postrotate
pkill socat > /dev/null
/usr/bin/pkill socat > /dev/null
endscript
}

View File

@ -7,7 +7,7 @@
postrotate
if [ -e /var/run/conntrackd.sock ]; then
invoke-rc.d conntrackd restart > /dev/null
/usr/sbin/invoke-rc.d conntrackd restart > /dev/null
fi
endscript
}

View File

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