-
Notifications
You must be signed in to change notification settings - Fork 51
Simplify, fix and clean up the spec file and related files #3
base: master
Are you sure you want to change the base?
Conversation
Try to conform some more to generic Fedora/EPEL packaging guidelines.
EnvironmentFile=/etc/sysconfig/zookeeper | ||
Environment=CLASSPATH=@CLASSPATH@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to change this to CLASSPATH=.:/usr/share/java/zookeeper/*
and remove all CLASSPATH manipulations from the spec file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that works, sure!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does.
minsize 10M | ||
copytruncate | ||
compress | ||
missingok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove delaycompress and notifempty?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a minsize set, so notifempty becomes irrelevant. As for delaycompress, it's only really useful when you think the log file will still be written to for a short file after being rotated, and I don't think that can ever be the case with copytruncate.
Add nagios-plugins-zookeeper subpackage
Any plan to merge this soon? |
@embusalacchi I would like to see the comment about CLASSPATH manupulation to be addressed. |
I’ve never built an RPM before but I am looking to use this and update the version. I’ll see if I can figure out the classpath changes and submit them for approval. If not I might just try for a zookeeper version update with your original code (which seems to work fine without this PR). |
* Allow package name override, for multiple versions in a single repository * Hardcode working CLASSPATH in the systemd service file
These are a lot of changes, so feel free to close/ignore and I won't be offended! 😄
There are many minor things, so I'll just outline the major ones :
Let me know if there is anything you dislike or if you have any questions regarding some specific changes.