Don't rely on SysV init script in logrotate config
Add a small helper to send SIGHUP to rsyslogd to close open log files. Use systemctl directly if systemd is the active PID 1. Keep the SysV init script as fallback only.
Loading
Please register or sign in to comment