inetbizo

Well-Known Member

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Can you confirm whether or not the bin => logrotate will work for the user? I have custom conf for logrotate within their user space.
Hello,

The logrotate command itself runs from jailed shell:

Code:
$ /sbin/logrotate --help
Usage: logrotate [OPTION...] <configfile>
  -d, --debug               Don't do anything, just test (implies -v)
  -f, --force               Force file rotation
  -m, --mail=command        Command to send mail (instead of `/bin/mail')
  -s, --state=statefile     Path of state file
  -v, --verbose             Display messages during rotation
  -l, --log=STRING          Log file
  --version                 Display version information

Help options:
  -?, --help                Show this help message
  --usage                   Display brief usage message
Thank you.