zookeeper not packaged as a service?

Asked by John Frank

The zookeeper package has a star|stop|restart script stored here:

      /usr/share/zookeeper/bin/zkServer.sh

and does not put a script in /etc/init.d/

It also does not appear to have an rc script, so we had to manually added a start command to rc.local, which doesn't work so well for automated builds.

This seems strange. Are we missing something? Is there a reason these things appear to be missing?

Thanks for any guidance. We'd be happy to help improve the package if that's the right thing to do.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu zookeeper Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can use this:
http://www.dropboxwiki.com/Ubuntu_Startup

As a base, you will need to delete:

DROPBOX_USERS="user1 user2"

DAEMON=.dropbox-dist/dropbox

You can simply change the text in the 'start', 'stop' stanzas.

Revision history for this message
John Frank (jrf-5) said :
#2

I understand how to make a start|stop script :-) And there is already such a script in the package.

My question is __why__ does the package not put it in the "right" place?

And why does the package not have an rc script?

If these are missing for no particular reason, we'll build a better package and would be happy to contribute it.

If there is some logic for not making the package more completely "debianized", could someone educated us about that logic?

Thanks,
John

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

I suggest you report a bug

Revision history for this message
John Frank (jrf-5) said :
#4

Thanks actionparsnip, that solved my question.

Revision history for this message
James Page (james-page) said :
#5

John - please use zookeeperd instead of zookeeper - this will install an init script.