LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-05-2006, 04:14 PM   #1
lion_heart_300
Member
 
Registered: Sep 2005
Posts: 130

Rep: Reputation: 15
etc/rc.d


hello
my friends ....
how i can stop and start programe in /etc/rc.d
thinks

Last edited by lion_heart_300; 07-05-2006 at 04:20 PM.
 
Old 07-05-2006, 04:28 PM   #2
quip
Member
 
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
Quote:
Originally Posted by lion_heart_300
hello
my friends ....
how i can stop and start programe in /etc/rc.d
thinks
Usually, it's just a matter of
Code:
/etc/rc.d/rc.service start
where "service" is the name of the daemon or program that you wish to start. It must be made executable, of course, and can usually be stopped with "/etc/rc.d/rc.service stop".
 
Old 07-05-2006, 04:30 PM   #3
BusMaster
LQ Newbie
 
Registered: Aug 2003
Location: USA
Distribution: Slackware 10.2
Posts: 2

Rep: Reputation: 0
/etc/rc.d/rc.______ start
/etc/rc.d/rc.______ stop
/etc/rc.d/rc.______ restart

cheers,
 
Old 07-05-2006, 04:36 PM   #4
lion_heart_300
Member
 
Registered: Sep 2005
Posts: 130

Original Poster
Rep: Reputation: 15
thinks friends
but what the important service i start it
 
Old 07-05-2006, 04:48 PM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
You can also stop things from starting at boot time by removing the executable permission.

example:
Code:
chmod -x /etc/rc.d/rc.httpd
Quote:
thinks friends
but what the important service i start it
I have no idea what you're trying to say here. Can you try refrasing the question?

regards,
...aaron
 
Old 07-06-2006, 10:14 PM   #6
lion_heart_300
Member
 
Registered: Sep 2005
Posts: 130

Original Poster
Rep: Reputation: 15
thank you drkstr
your command is right and useful
good bye
 
Old 07-07-2006, 10:23 AM   #7
dennisk
Member
 
Registered: May 2004
Location: Southwestern USA
Distribution: CentOS
Posts: 279

Rep: Reputation: 30
Don't forget. You can start and stop a lot of services from pkgtools.

Dennisk
 
  


Reply



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



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

All times are GMT -5. The time now is 06:48 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
Open Source Consulting | Domain Registration