mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-07 20:27:02 +01:00
73a5930ef0
Fixed php.ini location in README.SLACKWARE and hardcoded lighttpd user (thanks to Andrzej Telszewski) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
32 lines
628 B
Text
32 lines
628 B
Text
/var/log/lighttpd2/access.log /var/log/lighttpd2/error.log {
|
|
daily
|
|
missingok
|
|
copytruncate
|
|
rotate 30
|
|
create 0644 @LIGHTTPD_USER@ root
|
|
compress
|
|
notifempty
|
|
su lighttpd root
|
|
sharedscripts
|
|
postrotate
|
|
if [ -x /etc/rc.d/rc.lighttpd2 -a -f /var/run/lighttpd2/lighttpd2.pid ]; then
|
|
/etc/rc.d/rc.lighttpd2 restart
|
|
fi
|
|
endscript
|
|
}
|
|
|
|
/var/log/lighttpd2/lighttpd2.log {
|
|
daily
|
|
missingok
|
|
copytruncate
|
|
rotate 30
|
|
create 0644 root root
|
|
compress
|
|
notifempty
|
|
sharedscripts
|
|
postrotate
|
|
if [ -x /etc/rc.d/rc.lighttpd2 -a -f /var/run/lighttpd2/lighttpd2.pid ]; then
|
|
/etc/rc.d/rc.lighttpd2 restart
|
|
fi
|
|
endscript
|
|
}
|