|
From: Joe Z. <jz...@co...> - 2004-03-14 22:35:42
|
I'm playing around with making 'cmdloop' start as a service. There are problems on some systems they way cmdloop is invoked from check_loop. Instead of putting check_loop in /etc/crontab I'd create a file in /etc/init.d/ to handle the start/stop/status of cmdloop. This would allow cmdloop to be controlled with 'chkconfig', 'service' and 'ntsysv'. Since I only have access to redhat systems I don't know what is standard for services on MAC OS X, FreeBSD, etc. Do these systems have: o The chkconfig command? o The 'service' command? o The file /etc/rc.d/init.d/functions? o The /var/run directory? If any of you with non-redhat systems could answer these questions I'd greatly appreciate it. Thanks, Joe Zacky |