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

Re: update-rc.d creates unexpected sequence numbers



Hi,

CN <cnliou9@fastmail.fm> writes:
> /etc/init.d/my-program is correctly prepared with LSB header comments
> like this:
>
> #!/bin/sh
> ### BEGIN INIT INFO
> # Provides:             my-program
> # Required-Start:       $postgresql
> # Required-Stop:        $postgresql
> # Default-Start:        2 3 4 5
> # Default-Stop: 0 1 6
> # Short-Description: My program.
> # Description:  My program.
> ### END INIT INFO

That doesn't look correct: unless you defined a "$postgresql" system
facility (in /etc/insserv.conf), you should require "postgresql" and
not "$postgresql".

Ansgar


Reply to: