Commit 55a8160a authored by François Grisez's avatar François Grisez

flexisip-rotate: fix indentation

Logrotate requires that indentations be done with spaces sequences
instead of tabulations.
parent ffbe4e54
/var/opt/belledonne-communications/log/flexisip/*.log {
size 500M
rotate 7
size 500M
rotate 7
compress
delaycompress
compress
delaycompress
nocreate
missingok
nodateext
postrotate
logfilename="$(basename $1)"
pidfile="/var/run/${logfilename%.log}.pid"
if [ -f "${pidfile}" ]; then
kill -HUP $(cat ${pidfile})
fi
endscript
nocreate
missingok
nodateext
postrotate
logfilename="$(basename $1)"
pidfile="/var/run/${logfilename%.log}.pid"
if [ -f "${pidfile}" ]; then
kill -HUP $(cat ${pidfile})
fi
endscript
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment