- [prymar56@dynavirt ~]$ sudo systemctl status logrotate.service
- ○ logrotate.service - Rotate log files
- Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static)
- Drop-In: /etc/systemd/system/logrotate.service.d
- └─override.conf
- Active: inactive (dead) since Tue 2023-06-13 11:03:40 PDT; 32min ago
- TriggeredBy: ● logrotate.timer
- Docs: man:logrotate(8)
- man:logrotate.conf(5)
- Process: 301789 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited, status=0/SUCCESS)
- Process: 301790 ExecStop=/usr/bin/systemctl restart rsyslog.service (code=exited, status=0/SUCCESS)
- Main PID: 301789 (code=exited, status=0/SUCCESS)
- CPU: 102ms
- Jun 13 11:03:40 dynavirt.com systemd[1]: Starting Rotate log files...
- Jun 13 11:03:40 dynavirt.com systemd[1]: logrotate.service: Deactivated successfully.
- Jun 13 11:03:40 dynavirt.com systemd[1]: Finished Rotate log files.