-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postrotate script not getting 2 arguments #527
Comments
The second argument is only provided since version 3.15 (see f8356d6) (and only in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My postrotage script is definitely NOT getting 2 arguments, using Rocky RHEL8's
logrotate-3.14.0-6.el8.x86_64 .
Making the script print out "$@" shows only one argument, the absolute pathname
of the Rotated Log .
This could be a manual page niggle - the manual page does state :
"
Normally, the absolute path to the log file is passed as the first
argument to the script and the absolute path to the final ro‐
tated log file is passed as the second argument to the script
"
Please amend the manual page or give postrotate scripts 2 arguments as documented. Thanks!
The text was updated successfully, but these errors were encountered: