Jump to content

services file ... [solved]


 Share

Recommended Posts

Hi folks!

I am eager to know where does the system store the services (demons) which run at start up time (may be some where in /etc directory)? Thanks a lot.

 

Fahd

 

 

[moved from Everything Linux by spinynorman]

Link to comment
Share on other sites

They are usually in /etc/init.d in terms of the scripts, but it's far easier for you to do this:

 

chkconfig --list | grep :on

 

will give you a list of what services are listed to run at bootup. You can then do:

 

chkconfig servicename off

 

to disable it, and to start/stop/restart:

 

service servicename stop
service servicename start
service servicename restart

 

Normally, if I just want to find out a service name I just do:

 

chkconfig --list

 

and it will display all available.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...