Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 Apr 2004 13:11:20 -0500 (EST)
From:      "homebreweverything2" <homebreweverything2@myway.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Running arbitary daemons with init
Message-ID:  <20040401181120.5F34A397A@mprdmxin.myway.com>

next in thread | raw e-mail | index | archive | help

I am having troubling getting init on a freebsd 5.0-RELEASE machine to keep one of my scripts running.  It's a bash script, which runs fine if I run it nohup bashscript.sh &.  But, if I add the following line to my ttys:

checkhost "/home/user/bashscript.sh" unknown on

and send the HUP signal to init, the script does not run.  I've tried a couple variants of the line, labelling it as sercure and insecure, but I've been unable to get init to launch it.  Any ideas?

Thanks,
Mike

_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040401181120.5F34A397A>