salt rc.d scripts (Was: RUN_DEPENDS for python based port)

Doug Barton dougb at FreeBSD.org
Fri Dec 23 07:32:12 UTC 2011


On 12/22/2011 23:21, Christer Edwards wrote:
> On Fri, Dec 23, 2011 at 12:11 AM, Doug Barton <dougb at freebsd.org> wrote:
>> Did you read the pre-commit checklist? Particularly item 7?
> 
> "If the script uses an interpreted language like perl, python, or
> ruby, make certain that command_interpreter is set appropriately."
> 
> Each rc script includes: 'command_interpreter="%%PYTHON_CMD%%"' as
> suggested earlier. I looked at another port (security/denyhosts) and
> noticed it used "%%PYTHON%%" vs "%%PYTHON_CMD%%", but either way after
> installation it expands properly to "/usr/local/bin/python2.7" as I
> would expect..

excellent.

> Again, the error I'm finding is:
> [root at salt /usr/local/etc/rc.d]# ./salt_master start
> Starting salt_master.
> [root at salt /usr/local/etc/rc.d]# ./salt_master stop
> salt_master not running? (check /var/run/salt_master.pid).

So now do 'ps axww | grep salt' and confirm that it's really running
with python2.7, as opposed to something different.


Doug

-- 

		[^L]

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



More information about the freebsd-ports mailing list