Koozali.org: home of the SME Server

Services - Stopping

Graham

Services - Stopping
« 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

Luke Drumm

Re: Services - Stopping
« Reply #1 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

Graham

Re: Services - Stopping
« Reply #2 on: December 18, 2001, 12:24:47 AM »
Tanks ! Will try this out now . .

Jay Rentmeester

Re: Services - Stopping
« Reply #3 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....