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 qmail(in init.d) should still be linked to the rcx.d/
 > directories?

No.  The only program you need to start various long-running services
is svscan.  For example, here's my /service directory on my server:

axfrdns   dnscache  ftpd      msql2d    qmail     rsyncd    sshd
bray      etrn      httpd     pop3d     qmtpd     smtpd     tinydns

Most of these are obvious.  "bray" is not a service name but instead
the name of a friend who needs to have a tcpservice running on a
non-root port.  So I do this:
    #!/bin/sh
    exec setuidgid bray   tcpserver  -HRl0 0 2379 ~bray/bin/server

 > if qmail was run from /service would it get shutdown properly
 > without your 'qmail stop' stuff?

What does "properly" mean?  I don't know of any reboot or shutdown
program that is going to wait twenty minutes for all the qmail-remotes
to exit.  If you want it properly shutdown, you must do "svc -d
/service /service/*/log", wait for all the servers to exit, and then
reboot.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | Watch out!  He's got an
521 Pleasant Valley Rd. | +1 315 268 1925 voice | opinion, and he's not
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | afraid to share it!

Reply via email to