RaspberryPi sudo systemctl status logrotate.service
● logrotate.service - Rotate log files
Loaded: loaded (/lib/systemd/system/logrotate.service; static)
Active: inactive (dead) since Thu 2023-04-27 00:00:04 BST; 7h ago
TriggeredBy: ● logrotate.timer
Docs: man:logrotate(8)
man:logrotate.conf(5)
Main PID: 11361 (code=exited, status=0/SUCCESS)
CPU: 758ms
Warning: journal has been rotated since unit was started, output may be incomplete.
just normal user. this really helped tho as using sudo all is fine
RaspberryPi sudo which logrotate
/usr/sbin/logrotate
RaspberryPi sudo logrotate
logrotate 3.18.0 - Copyright (C) 1995-2001 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU General Public License
Usage: logrotate [-dfv?] [-d|--debug] [-f|--force] [-m|--mail=command]
[-s|--state=statefile] [--skip-state-lock] [-v|--verbose] [-l|--log=logfile]
[--version] [-?|--help] [--usage] [OPTION...] <configfile>