[clug] Starting services in ubuntu

David Collett davico at tpg.com.au
Wed May 11 08:39:31 GMT 2005


Did everybody forget how to make symlinks or something??
You do it like this:
ln -s target linkname

Dave

On Wed, 2005-05-11 at 12:45 +1000, David Gibson wrote:
> On Wed, May 11, 2005 at 12:11:09PM +1000, paul at pabryan.mine.nu wrote:
> > On Wed, May 11, 2005 at 11:51:10AM +1000, David Gibson wrote:
> > > On Wed, May 11, 2005 at 11:35:19AM +1000, paul at pabryan.mine.nu wrote:
> > > > On Wed, May 11, 2005 at 10:08:54AM +1000, David Gibson wrote:
> > 
> > <snip>
> > 
> > > > Where update-rc.d differs from chkconfig however is due to it being,
> > > > as you say, for package scripts. If links already exist, it won't
> > > > overwrite them. So, it's really only for creating the links
> > > > initially. This is a Debian policy thing. The assumption is that, if
> > > > the links exist, the sys admin did it and the package scripts should
> > > > respect that.
> > > 
> > > Right, which means it can't do the handy things chkconfig does, of
> > > changing which runlevels a service is active in.
> > 
> > No, it can. You just have to do the remove first. Then you set the run
> > levels as you please. My example just showed how to do the default
> > setup. You can use it to explicitly set on which run levels the
> > service is active or inactive.
> > 
> > So, you end up issuing two commands where chkconfig can do it one.
> 
> Right, making it half as convenient to use.  Not a good deal.
> 
> 
> -- 
> David Gibson			| I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
> 				| _way_ _around_!
> http://www.ozlabs.org/people/dgibson



More information about the linux mailing list