mirror of https://github.com/apache/cloudstack.git
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:
parent
8378485e56
commit
1e1cc11d9a
|
|
@ -22,6 +22,6 @@
|
|||
compress
|
||||
delaycompress
|
||||
postrotate
|
||||
pkill socat > /dev/null
|
||||
/usr/bin/pkill socat > /dev/null
|
||||
endscript
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue