Jump to content

services file ... [solved]


 Share

Recommended Posts

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...