Does your port specify its pid file location in a configuration file?

Doug Barton dougb at
Sun May 1 18:53:34 UTC 2011

If you maintain a port that specifies its pid file location in its 
configuration file you may be interested in the get_pidfile_from_conf() 
method that I added to rc.subr recently. The change has been MFC'ed so 
it's available in RELENG_[78] as well.

To see an example of how to implement it in a ports rc.d script (by 
testing first to see if the function exists) you can take a look at 
x11/slim. If you're interested in this and would like help and/or a 
review of your patch feel free to follow up here, or on 
freebsd-rc at



	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)

More information about the freebsd-ports mailing list