Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to enable / disable service during startup in Fedora?

Answer:

Firstly, check if the service can be managed by chkconfig, e.g. Apache httpd

# chkconfig --list httpd

httpd           0:off   1:off   2:off   3:on    4:on    5:on    6:off

To disable the service during normal startup, use

# chkconfig httpd off

To re-enable it, use

# chkconfig httpd on --level 3,4,5

  1. How to disable a service from startup in Ubuntu?
  2. Disable a service in Ubuntu using upstart
  3. How to enable Server Side Includes (SSI)
  4. Enable Server Side Includes in Apache
  5. Disable X-Powered-By and Server headers in Apache/PHP

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>