Monitor rotatelogs process and restart is when it is stopped.