On Debian the Asterisk Makefile does
/usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .;
which results in a /etc/rc2.d/S10asterisk being written.
I think S10 is too early.
bind9 : S15
mysql : S19
zaptel: S20
ntp : S23
What bothers me most is that mysql is not up when asterisk
starts. That's a bad thing if there are #execs in your config
files and if the scripts rely on mysql.
So what about S50 or S95?
Regards,
Philipp Kempgen
--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
Let's use IT to solve problems and not to create new ones.
Asterisk? -> http://www.das-asterisk-buch.de
Gesch?ftsf?hrer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
On Thursday 15 November 2007 11:47:04 Philipp Kempgen wrote:> On Debian the Asterisk Makefile does > > /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; > > which results in a /etc/rc2.d/S10asterisk being written. > > I think S10 is too early. > > bind9 : S15 > mysql : S19 > zaptel: S20 > ntp : S23 > > What bothers me most is that mysql is not up when asterisk > starts. That's a bad thing if there are #execs in your config > files and if the scripts rely on mysql. > > So what about S50 or S95?Okay, changed. -- Tilghman
On Thu, Nov 15, 2007 at 06:47:04PM +0100, Philipp Kempgen wrote:> On Debian the Asterisk Makefile does > > /usr/sbin/update-rc.d asterisk start 10 2 3 4 5 . stop 91 2 3 4 5 .; > > which results in a /etc/rc2.d/S10asterisk being written. > > I think S10 is too early.And it would also be simpler to use: update-rc.d asterisk defaults 10 91 Or, for better numbers: update-rc.d asterisk defaults 30 15 Note that on Debian the K scripts are in runlevels 0, 1 and 6. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Possibly Parallel Threads
- Reading data in lisp format
- Wide to long form conversion
- [ARM] Register pressure with -mthumb forces register reload before each call
- [LLVMdev] Request for merge: GHC/ARM calling convention.
- [ARM] Register pressure with -mthumb forces register reload before each call