Skip to content
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

The init script always requires the zookeeper service #168

Closed
LionelCons opened this issue Jul 6, 2017 · 0 comments · Fixed by #169
Closed

The init script always requires the zookeeper service #168

LionelCons opened this issue Jul 6, 2017 · 0 comments · Fixed by #169

Comments

@LionelCons
Copy link
Contributor

The init script is created from:

# Provides:          <%- @service_name -%>
# Required-Start:    zookeeper
# Required-Stop:

So zookeeper is always required.

As contrast, the Systemd unit file uses the service_requires_zookeeper variable via:

<%- if @service_requires_zookeeper -%>
Wants=zookeeper.service
After=network.target syslog.target zookeeper.service
Requires=zookeeper.service
<%- else -%>
After=network.target syslog.target
<%- end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant