[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#337640: cupsys: Please add LSB formatted dependency info in init.d script



Sorry for the late reply.

[Martin-Éric Racine]
> One question I need to ask is, how do we define a "must start
> before"?

I assume you are trying to figure out if you need to use
Required-Start or Should-Start.

required-start should be used if the init.d script should fail to
install if the service listed there is missing, and should-start
should be used if it is ok to install the script even if the service
listed there is missing.  Both will have the same effect for ordering
if the service is installed (as in starting the service listed as a
dependency before the script being installed.

I assume samba should be listed as should-start for cupsys, as it is
allowed to install cupsys without installing samba.

> Once the above is clarified, I will gladly commit the headers to CUPS.

Great to hear.

Happy hacking,
-- 
Petter Reinholdtsen





Reply to: