Re: running qmail from /supervise

2001-03-06 Thread Peter Peltonen
Gerrit Pape wrote: I have svscan /service started from inittab. I have the links for the services in /service and normally do not remove them. Services are started at boot time, no need for init scripts. If I want a service to be down temporary, I use svc -d /service/service. Thats what I

running qmail from /supervise

2001-03-05 Thread Neil Grant
hi I am doing another qmail install and this time I have a /supervise directory for dnscache, so I thought it would make sense to run qmail from there, I am following lwq (most of the time). So I was wondering if anyone had already adapted the lwq start up script to do this, and is it a case of

RE: running qmail from /supervise

2001-03-05 Thread Jankok, Lucio
, March 05, 2001 2:22 PM : To: Qmail mailing list : Subject: running qmail from /supervise : : : hi : : I am doing another qmail install and this time I have a : /supervise directory : for dnscache, so I thought it would make sense to run qmail : from there, I am : following lwq (most of the time

Re: running qmail from /supervise

2001-03-05 Thread Dave Sill
"Neil Grant" [EMAIL PROTECTED] wrote: I am doing another qmail install and this time I have a /supervise directory for dnscache, so I thought it would make sense to run qmail from there, I am following lwq (most of the time). So I was wondering if anyone had already adapted the lwq start up

Re: running qmail from /supervise

2001-03-05 Thread Gerrit Pape
On Mon, Mar 05, 2001 at 09:07:19AM -0500, Dave Sill wrote: Assuming you're running svscan on /service (not /supervise) already, e.g. from inittab, you could change the "start" section in the script to: echo -n "Starting qmail" ln -s /var/qmail/supervise/* /service echo "."

Re: running qmail from /supervise

2001-03-05 Thread Dave Sill
"Gerrit Pape" [EMAIL PROTECTED] wrote: On Mon, Mar 05, 2001 at 09:07:19AM -0500, Dave Sill wrote: Assuming you're running svscan on /service (not /supervise) already, e.g. from inittab, you could change the "start" section in the script to: echo -n "Starting qmail" ln -s

Re: running qmail from /supervise

2001-03-05 Thread Gerrit Pape
On Mon, Mar 05, 2001 at 09:58:32AM -0500, Dave Sill wrote: "Gerrit Pape" [EMAIL PROTECTED] wrote: No, I just forgot to remove the "x" flags. Make it: echo -n "Stopping qmail: qmail-send qmail-smtpd" svc -d /service/qmail-send /service/qmail-smtpd echo -n " logging" svc

Re: running qmail from /supervise

2001-03-05 Thread Kris Kelley
Gerrit Pape wrote: if You really want to use such silly initscripts, better use svc directly. Dave Sill asked: What makes this a "silly initscript"? What's the right way to do this stuff in your OS religion? Gerrit Pape replied: I have svscan /service started from inittab... If I

Re: running qmail from /supervise

2001-03-05 Thread Neil Grant
thanks Dave, I was on the right lines, I just didnt know any thing about svc. once the links are created to /service it will start automatically on boot up, but if it had been stopped before shutdown (svc -d) - it will need to be 'svc -u' ed on bootup? so qmail(in init.d) should still be linked

Re: running qmail from /supervise

2001-03-05 Thread Russell Nelson
Neil Grant writes: once the links are created to /service it will start automatically on boot up, but if it had been stopped before shutdown (svc -d) - it will need to be 'svc -u' ed on bootup? That is a question? Svc saves no history and sets no state that survives rebooting. so

Re: running qmail from /supervise

2001-03-05 Thread Mark Delany
is svscan. For example, here's my /service directory on my server: axfrdns dnscache ftpd msql2dqmail rsyncdsshd bray etrn httpd pop3d qmtpd smtpd tinydns Most of these are obvious. "bray" is not a service name but instead the name of a