Date: Sun, 01 May 2011 11:53:32 -0700 From: Doug Barton <dougb@FreeBSD.org> To: FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: Does your port specify its pid file location in a configuration file? Message-ID: <4DBDAC2C.3060903@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org. Doug -- 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. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DBDAC2C.3060903>