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

Christer Edwards christer.edwards at gmail.com
Fri Dec 23 07:21:31 UTC 2011


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..

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).


More information about the freebsd-ports mailing list