Re: Startup Sequence

Alain Wolf <[email protected]> Mon, 03 Sep 2007 11:50:55 +0200
Newsgroups gmane.comp.djb.syslog
Organization K18 Network Services
Message-ID <[email protected]>
Arthur B Olsen wrote:
> Is there a way to control the startup sequence with daemontools.
> 
> So that i can start certain services before others?

Hello Arthur,
I don't know about implemented features, but you could check with ps(1)
and readproctitle(8), svstat(8) or svok(8) in the run-script of the
service, if another specific service is already running and exec
conditionally.

Greetings

Alain Wolf

--
Zurich - Switzerland
wolf.vcf (text/x-vcard, 289 B)
begin:vcard
fn:Alain Wolf
n:Wolf;Alain
org:k18.ch Network Services
adr:;;Kochstrasse 18;Zurich;;8004;Switzerland
email;internet:[email protected]
tel;work:+41 (43) 342 93 44
tel;fax:+41 (43) 317 15 16
tel;cell:+41 (78) 897 87 76
x-mozilla-html:FALSE
url:http://www.k18.ch
version:2.1
end:vcard
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG29j/V5MZZmyxvGgRAvNkAJsFbv5tPgf3AhDV/BQXDMuS465xwwCeIduU
yDPp1DxvXmC5fGZg4IVUXEE=
=sFnV
-----END PGP SIGNATURE-----