how about /etc/rc.local #a line that would work path/to/screen -d -m path/to/asterisk -vvvvvvgfc
-d -m Start screen in "detached" mode. This creates a new session but doesn't attach to it. This is useful for system startup scripts. On 7/4/05, Carlos Alperin <[EMAIL PROTECTED]> wrote: > Did you check the log files looking for load errors? > > Carlos Alperin > Senior System Engineer > Seneca Communications, LLC > [EMAIL PROTECTED] > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Remco Barende > Sent: Monday, July 04, 2005 3:06 PM > To: Asterisk Users List > Subject: [Asterisk-Users] Proper way to start * and load modules on a > RedHatbox > > Hi list! > > I have several boxes running asterisk as I want, no problems there but the > one thing I haven't sorted out is how to properly start asterisk on boot > time. > > This is probably a n00b class question but how do I properly set this up > (I didn't find any docs on this). > > The zaptel script alone does not load the proper driver on boot time, I > guess I need to do some thing with the alias stuff in modules.conf? > > Also how can I make the startup scripts appear in ntsysv? Even when I copy > the scripts to rc.d they do not show up in ntsysv > > I tried loading the modules manually from rc.local but that doesn't work, > even if I use delays. For some reason ztcfg doesn't work when run from > rc.local and therefore asterisk fails to load. If I run ztcfg manually > then ztcfg starts properly. > > Thanks for any hints / tips! > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users