LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-02-2003, 10:59 PM   #1
Thinkgeekness
Member
 
Registered: Nov 2002
Posts: 81

Rep: Reputation: 15
DaemonTools-0.76 Questions


Hey, I am installing DaemonTools-0.76 for qmail right now but I am having two problems.

1. How do I have svscan run on the /service directory each time I start my computer?

2. How do I test to make sure DaemonTools is installed correctly? I have a book but it is using DaemonTools-0.70 and the installation was different for 0.76 so I am guessing it is different to test it also.

I am running Red Hat 8.0.

Thanks!
 
Old 05-03-2003, 01:53 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well, for question 1 you can put the command you want to run in /etc/rc.local

Can't help with 2, sorry.
 
Old 05-03-2003, 02:44 AM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
for question #2 it depends how you're starting it. I have mine started by init with an entry in /etc/inittab that looks like this
Code:
SV:123456:respawn:/command/svscanboot
ps -e tells me that svscanboot is running and a bunch of supervice - <servicename> tells me that it's running and managing a bunch of services for me.

If you have made changes to your inittab you will need to send init a HUP signal to reload the changed configuration file. 'kill -HUP 1' (inetd should be a PID of 1).

If you are at all unsure of whether or not it's working properly you can try the following;

1) stop any services you started with the svc command.
2) comment out the svscanboot line in your inittab
3) kill -HUP your init
4) kill svscanboot, supervise, svscan

Now none of the daemontools should be running. Next we need to restart them i the same manner they would start at boot.

1) uncomment the svscanboot line in /etc/inittab
2) kill -HUP init
3) restart any services you want to run

If you want to run services everytime you boot you can add the command line you use to start it in your /etc/rc.local (oir whereever your rc.local is) or config your sysv runlevels to load the script upon boot.
 
  


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
Daemontools, now can't umount /tmp /, ugly shutdowns humbletech99 Linux - Networking 0 11-15-2005 05:39 AM
Apache keeps restarting with DaemonTools humbletech99 Linux - Networking 4 11-14-2005 11:51 AM
What's "svc" and how do I uninstall it? (qmail/daemontools) ivj Linux - Software 4 07-25-2005 07:49 PM
Errors installing daemontools-0.76 on Suse 9.1 ServerStorm Linux - Software 2 01-17-2005 05:13 PM
Daemontools-0.76 installation - Error on Redhat 9 LukasM Linux - Software 9 05-05-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:17 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