Fixes for logrotate and start/stop issues