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
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
, 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
"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
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 "."
"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
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
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
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
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
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
11 matches
Mail list logo