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

Re: systemd now appears to be only possible init system in testing

Cameron Norman <camerontnorman@gmail.com> writes:

> I thought that start-stop-daemon (and status_of_proc) returned the
> correct codes, and whatever it returns you can relay / let the shell
> catch? The script is here
> (https://github.com/cgmanager/cgmanager/pull/14/files), if you wanted to
> take a look.

It does not, at least not the way that you're calling it.

If you used --oknodo in a few places, it might be closer, but take a look
at /etc/init.d/skeleton and look at the exit status remapping that it

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: