LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-10-2005, 12:28 AM   #1
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
chkconfig in Debian


hi

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, 02:24 AM   #2
makuyl
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
 
  


Reply


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 01:31 PM
chkconfig equivalent debian biophysics Debian 2 07-26-2005 10:12 AM
chkconfig in debian Red Squirrel Linux - Software 1 05-15-2005 01:47 PM
Debian and chkconfig atheist Debian 1 06-13-2004 12:45 AM
Debian-and tool like chkconfig and services banana2 Linux - Software 1 01-12-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:13 AM.

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