-
Notifications
You must be signed in to change notification settings - Fork 423
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
logrotate_app works only for upstart #550
Comments
Because this cookbook predates systemd or at least its widespread use.
Contributions are welcome, this is open source software after all.
On Fri, 13 Mar 2020 at 15:29, Vladimir Zulin-Tarelkin < ***@***.***> wrote:
Why logrotate is configured only for upstart ?
if node['rabbitmq']['job_control'] == 'upstart' &&
node['rabbitmq']['manage_service']
...
logrotate_app 'rabbitmq-server' do
path node['rabbitmq']['logrotate']['path']
enable node['rabbitmq']['logrotate']['enable']
rotate node['rabbitmq']['logrotate']['rotate']
frequency node['rabbitmq']['logrotate']['frequency']
options node['rabbitmq']['logrotate']['options']
sharedscripts node['rabbitmq']['logrotate']['sharedscripts']
postrotate node['rabbitmq']['logrotate']['postrotate']
end
why this is like that ? and why not to use it for systemd OS's?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#550>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAIQTPWHHKPH3CD3SK5KDRHIRLHANCNFSM4LHBQDOQ>
.
--
Staff Software Engineer, Pivotal/RabbitMQ
|
@michaelklishin What do you think to removing all of the logrotate stuff altogether? IMO a rabbitmq cookbook should install and configure rabbitmq and nothing else. |
@fozboz makes sense to me. Feel free to open a PR |
I agree. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why logrotate is configured only for upstart ?
if node['rabbitmq']['job_control'] == 'upstart' && node['rabbitmq']['manage_service']
...
logrotate_app 'rabbitmq-server' do
path node['rabbitmq']['logrotate']['path']
enable node['rabbitmq']['logrotate']['enable']
rotate node['rabbitmq']['logrotate']['rotate']
frequency node['rabbitmq']['logrotate']['frequency']
options node['rabbitmq']['logrotate']['options']
sharedscripts node['rabbitmq']['logrotate']['sharedscripts']
postrotate node['rabbitmq']['logrotate']['postrotate']
end
why this is like that ? and why not to use it for systemd OS's?
The text was updated successfully, but these errors were encountered: