bug 4406 - missing LSB information
I have put this in header of koha-zebra-daemon on my system. Of course, taken from soem other script in init.d/ and modified. So, it may cast a spell on other systems. Feel free to junk or accept this. <begin quote> ### BEGIN INIT INFO # Provides: koha-zebra-daemon # Required-Start: $syslog $remote_fs # Required-Stop: $syslog $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Koha-zebra-daemon ### END INIT INFO </end quote> I do not know why $remote_fs is required - probably if syslog writes to a remote file system?? And cannot figure why this should run in any other runlevel other than 2. Of coruse, feel free to discuss and modify as required; it just works for me. -- Mahesh T. Pai || The next best thing to knowing something is to know where to find it. --Samuel Johnson
Mahesh T Pai [...]
I do not know why $remote_fs is required - probably if syslog writes to a remote file system??
Or if zebra's data storage is on one? Not 100% sure though.
And cannot figure why this should run in any other runlevel other than 2. Of coruse, feel free to discuss and modify as required; it just works for me.
Personally, on my desktop machine, I still use 2 for a multiuser text boot and 5 for a graphical boot, but all of 2 to 5 are runlevels we probably want to start up in by default. I've made a patch based on your suggestion and submitted it. Thank you for your help, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. Webmaster, Debian Developer, Past Koha RM, statistician, former lecturer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire for various work through http://www.software.coop/
MJ Ray schreef op ma 20-06-2011 om 18:12 [+0100]:
I do not know why $remote_fs is required - probably if syslog writes to a remote file system??
Or if zebra's data storage is on one? Not 100% sure though.
Yes. If you have /usr (or /var, but less common I think) mounted on an NFS partition or similar, you want that to be present before you start most things. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D
participants (3)
-
Mahesh T Pai -
MJ Ray -
Robin Sheat