Find the answer to your Linux question:
Results 1 to 3 of 3
I've got CentOS. And I'm using this command to see all my services and their runlevels. #chkconfig --list I can clearly see some services I don't care to have started ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    3

    Disabling a Startup service

    I've got CentOS. And I'm using this command to see all my services and their runlevels.

    #chkconfig --list

    I can clearly see some services I don't care to have started at bootup. Like Bluetooth.
    I've tried the ntsysv utility, but it doesn't seem to work, after I restart.

    Is there a particular command that lets me completely disable a service and set all runlevels to "off" ?

    thanks!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Yes, you can disable the services you don't need.

    Check this HowTo for instructions and other information on doing so:

    Services in Fedora 10

    ...it was written for Fedora but should also work with RHEL and CentOS.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    To set what services start at boot use the following;

    Code:
    chkconfig [--level <levels>] <name> <on|off>
    If you need to stop or start them without rebooting you can do the following

    Code:
     service <name> <start|stop|restart>

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...