-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Systemd #58
Comments
Hi, |
Hi Tim, I possibly can. The problem is time at the moment. What I did the other day On Thu, Apr 7, 2016 at 6:28 PM, Tim Meusel [email protected] wrote:
|
About the logpath: It was always set to install-dir/logs, so by default to /opt/kafka/logs. So log4j (therefore kafka-broker) logs to that directory. /var/log/kafka was only used for startup logging (before log4j can take over) |
I also do not understand your comment about the install-dir ;) |
I was playing against the version that is currently released. Therefore when I created the systemd template and tried to use install_dir I discovered it was always emtpy. The bit of puppet I pasted above was direct out of your puppet (the broker install class), where it checks and sets install_directory. If you have changed how it works then ignore what I had to say, I don't have time at the moment to go back and look through the current version. |
are there any future plans to support systemd? |
@confiq is the support missing? From reading this issue, it just deals with some implementation details, but the general support should be available. |
not really, it is supported very well! |
Hi there,
I was just about to give you all the stuff for systemd that I'd just created, but see that in the last 9 hours you have pushed your own stuff. Just a couple of things from my playing with your module.
To your systemd template you probably want to add:
Environment=LOG_DIR=/var/log/kafka
As other wise its going to default to . (thats buried in kafka_run_class.sh)
In class kafka::broker::service, before you create the systemd template you probably want to add:
Which is what you do in the installer. And then change the execstart and execstop to:
Otherwise if the user changes the install location (like I did) it will all still work. Hope that helps.
Really like your module. Keep up the excellent work.
Thanks.
Paul.
The text was updated successfully, but these errors were encountered: