Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-09-2005, 11:28 PM   #1
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
chkconfig in Debian


i have recetly started using debian and switched over from red hat.

in red hat i used to turn on and off services using the command

chkconfig --level 345 service name on|off

how do i do that in debian

also what is the equivalent of the service command of red hat in debian

like if i want to start NFS in red hat i use the command

service nfs start

what do i do in debian?
Old 11-10-2005, 01:24 AM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
remove from bootup: update-rc.d -f nfs remove
add to bootup: update-rc.d nfs defaults
add and set levels: update-rc.d nfs start 20 2 3 4 5 . stop 20 0 1 6 .
You can also use rcconf or sysvconfig.

start something: /etc/init.d/nfs start
stop with: /etc/init.d/nfs stop


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 12:31 PM
chkconfig equivalent debian biophysics Debian 2 07-26-2005 09:12 AM
chkconfig in debian Red Squirrel Linux - Software 1 05-15-2005 12:47 PM
Debian and chkconfig atheist Debian 1 06-12-2004 11:45 PM
Debian-and tool like chkconfig and services banana2 Linux - Software 1 01-12-2003 11:38 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration