I would recommend using dedicated monitoring software, like Nagios, rather than inittab. With inittab you can run into many problems. But if you decide to use it anyway, the syntax is something like this:
gnugk:23:respawn:/usr/local/sbin/gnugk -c /full/patch/to/my/config -t -o /full/path/to/my/log
Be aware, that this may work or not on some systems and you will not
be able to shutdown the gatekeeper until this line is present in the inittab.
After every change to to the inittab, you need to run:
init -q
Regarding ATA problem - the best is to consult the ATA manual which options
need to be set to force ATA to use H.235 and send username/password inside tokens.
----- Original Message ----- From: "Shashi Dahal" <shashi0@xxxxxxxxx>
Sent: Tuesday, November 16, 2004 7:21 PM
hi, in my previous email, accidently i put cron instead of inittab.
correct question is:
Hi,
i run my gnugk as
cd /home/gnugk ./gnugk -c gnugk.ini -o gnugk.log -ttttt
how do i put this entry in INITTAB?
make a script containing the above and respawn it ? or give full paths like
/home/gnugk/gnugk -c /home/gnugk/gnugk.ini -o /home/gnugk/gnugk.log -ttttt
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/