status_of_proc() changes

Steve Langasek steve.langasek at ubuntu.com
Sat Jul 12 19:57:54 BST 2008


On Fri, Jul 11, 2008 at 09:16:54AM -0500, Dustin Kirkland wrote:
> On Fri, Jul 11, 2008 at 3:35 AM, Matt Zimmerman <mdz at canonical.com> wrote:
> > Some of these seem to depend on lsb, others lsb-base.  lsb-base would seem
> > to be sufficient, and more minimalist.

> Sorry, that's an omission in the changelog only, Matt.  The
> debian/control files are in fact specifying lsb-base >= ...

> > Are you also adding lsb comments to the init scripts as you go?

> Hmm, no...  What sort of comments do you mean?

The magic comments at the top of every init script that declare what
runlevels it's meant to start in, as well as any dependencies on other init
scripts.  E.g.:

#!/bin/sh

### BEGIN INIT INFO
# Provides:          samba
# Required-Start:    $network $local_fs $remote_fs
# Required-Stop:     $network $local_fs $remote_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: start Samba daemons (nmbd and smbd)
### END INIT INFO

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org



More information about the ubuntu-devel mailing list