New port startup script fails

Paul Schmehl pauls at utdallas.edu
Thu Jul 21 22:50:13 GMT 2005


I'm working on a new port, and I decided to use the new rc.subr type 
startup script.  After I wrote the script, I started testing it.  The 
program started fine, but neither stop nor status worked.  I read man (8) 
rc.subr and studied the script (/etc/rc.subr).

The program was creating a pid file with the correct name in /var/run, but 
for some reason, the stop and status commands apparently couldn't find? 
read? the file.  Is there a way to troubleshoot this problem to pin down 
exactly were the problem is?

Paul Schmehl (pauls at utdallas.edu)
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/


More information about the freebsd-rc mailing list