Bugfix/948346
This applies changes announced in #948346:
- Improved logrotate script to employ systemd if possible
- Moved SIGUSR2/SIGHUP handling to reduce risk of races with legacy SysV init
- Removing pidfile remains if the other process is gone
This applies changes announced in #948346: