Simple question
kilauea
kilauea at hsa-kauai.net
Tue Jun 26 22:51:56 PDT 2001
As I read the question, you need to start on boot. Write a file and make
it executable using those in /etc/rc.d/<default runlevel dir>/ as
templates for RedHat or just put the command in /etc/rc.d/rc.<default
runlevel file> for Slackware. Add an ampersand if you want it in the
background. This will start it every time the machine is booted. To
check the status of the service I think you might be able to use cron.
Write a cron job to "ps ax |grep dns2go". IF you don't find a pid just
restart dns2go. ELSE use awk to look for "R". If it isn't running, kill
the pid and then restart it. The cron job could be run as frequently as
you think prudent.
Hope this helps
More information about the LUAU
mailing list