On Tue, 18 Feb 2003 08:48:17 -0500, Phil Barnett wrote:
> What I miss in Gentoo is the simple format for services like found in
> Redhat and many others, ie:
> 
> service servicename stop/start/restart
> 
> It eliminates needing to know where the service directory is or
> including it every time.
> 
> service httpd stop
> 
> is a lot easier than any other incarnation and make any system easier
> to admin.

<shellscript>
#!/bin/sh
/etc/init.d/$1 $2
</shellscript>

put that in /usr/sbin or whereever you like, name it "service", give it
the right permissions and you will have the functionality you described.

i read that before on the list, so it must be somewhere on the archives
too.

--
[EMAIL PROTECTED] mailing list

Reply via email to