LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2005, 08:23 PM   #1
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
how to start daemons in slackware


in redhat / fedora, we start servers like, sbin/service httpd start
what will be the equivalent command in slackware?

regards
anindyanuri
 
Old 07-12-2005, 08:28 PM   #2
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
you can find your daemon mostly in /etc/rc.d/ so if you want to start Apache you do #/etc/rc.d/rc.httpd start
some services you can start just typing the name for example the HCID daemon: #hcid
in gui mode you can run the command #services-admin

 
Old 07-12-2005, 08:34 PM   #3
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Original Poster
Rep: Reputation: 30
Nice answer, more than my expectation..........

Thank you friend

Regards
anindyanuri
 
Old 07-12-2005, 08:38 PM   #4
IamDaniel
Member
 
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
Quote:
Originally posted by maginotjr
you can find your daemon mostly in /etc/rc.d/ so if you want to start Apache you do #/etc/rc.d/rc.httpd start
some services you can start just typing the name for example the HCID daemon: #hcid
in gui mode you can run the command #services-admin

Additionally, if you want to add a daemon and start automatically during boot, permanently...

`/etc/rc.d/rc.M' for example:

Code:
# Start Apache web server:
if [ -x /etc/rc.d/rc.httpd ]; then
  . /etc/rc.d/rc.httpd start
fi
 
Old 07-12-2005, 08:51 PM   #5
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
or you can just copy the daemon to the rc.d folder (if it is not there already) and make it executable. (chmod +x daemon_file)
 
Old 07-12-2005, 09:13 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
maginotjr that won't work, files in rc.d are called explicity from rc.X runlevel files.
 
  


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
start stop daemons aizkorri Linux - Newbie 4 05-06-2004 06:26 AM
Start Services/Daemons exkor5000 Linux - Newbie 1 11-16-2003 05:00 PM
Why can't I get X to start in Slackware 9.0 Superdude Linux - Software 4 10-11-2003 07:32 PM
How do I Start daemons At Boot? kyiyer Linux - Newbie 10 09-18-2003 08:32 PM
Slackware won't start! saiz66 Slackware 8 04-17-2003 05:50 PM

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

All times are GMT -5. The time now is 09:04 PM.

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