added support for logrotate's logcopytruncate option and modified the init scripts to send sigterm when stopping the looper scripts.