On Tue, 18 Feb 2003 08:48:17 -0500
Phil Barnett <[EMAIL PROTECTED]> wrote:

> On Tuesday 18 February 2003 8:39 am, brett holcomb wrote:
> 
> > What are you trying to do??  Any distro will tell you a
> > service is started if it's already running.   You do a
> > /etc/init.d/service restart if you want to restart it.
> >  This is equivalent of a stop then a start.  Gentoo's init
> > service is the same as all the others - the directories
> > may be different but they all do /etc/somedir/servicename
> > start/stop/restart/... .
> 
> What I miss in Gentoo is the simple format for services like found in Redhat 
> and many others, ie:
> 
> service servicename stop/start/restart

vi /usr/bin/service

#!/bin/sh
/etc/init.d/$1 $2
EOF

chmod gu+x /usr/bin/service

Henti Smith 

--
[EMAIL PROTECTED] mailing list

Reply via email to