supports x86_64-musl
This commit is contained in:
parent
7c76b02986
commit
9888810b73
2 changed files with 16 additions and 24 deletions
|
|
@ -33,7 +33,7 @@ include /etc/logrotate.d
|
|||
# system-specific logs may be also be configured here.
|
||||
EOF
|
||||
|
||||
cat > /etc/logrotate.d/rpxy << EOF
|
||||
cat > /etc/logrotate.d/rpxy.conf << EOF
|
||||
${LOG_FILE} {
|
||||
dateext
|
||||
daily
|
||||
|
|
@ -48,8 +48,8 @@ ${LOG_FILE} {
|
|||
}
|
||||
EOF
|
||||
|
||||
cp -p /etc/cron.daily/logrotate /etc/cron.hourly/
|
||||
service cron start
|
||||
cp -f /etc/periodic/daily/logrotate /etc/periodic/15min
|
||||
crond restart
|
||||
|
||||
# debug level logging
|
||||
if [ -z $LOG_LEVEL ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue