Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Graham on December 17, 2001, 03:10:47 AM

Title: Services - Stopping
Post by: Graham on December 17, 2001, 03:10:47 AM
Hi All,

What is the best way to start/stop services ?

I installed a module to patch the web panel
service-control.rpm) although this did not
seem to work very well ?

Can I achieve the same thing from the console
if I log in as root ?

Many Thanks !

Graham
Title: Re: Services - Stopping
Post by: Luke Drumm on December 17, 2001, 11:47:51 AM
To stop/start or restart a service from the command line, the usual syntax is:

service egg action

where egg is the name of the service (httpd for example) and action is what you'd like to happen (stop, start etc.)
eg. To restart the external apache service:

service httpd restart


Just typing in:

service egg

will usually provide you with a list of actions that egg knows how to do.

Regards,
Luke
Title: Re: Services - Stopping
Post by: Graham on December 18, 2001, 12:24:47 AM
Tanks ! Will try this out now . .
Title: Re: Services - Stopping
Post by: Jay Rentmeester on January 10, 2002, 04:41:52 AM
How do I stop them for good if I don't use them, such as Squid or lptd....