Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2011 00:21:08 -0700
From:      Christer Edwards <christer.edwards@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Re: salt rc.d scripts (Was: RUN_DEPENDS for python based port)
Message-ID:  <CAH2d3%2BubMdVMNncu_NNpXk1oCH8TM17pbaRLjkk09nrqHBwTqQ@mail.gmail.com>
In-Reply-To: <4EF429BB.2040906@FreeBSD.org>
References:  <CAH2d3%2BvMF8jM6GHJQ6DR7EywmnY%2Bj=0tSHFEf_5oW1C6QhYD8A@mail.gmail.com> <4EEC6D9D.1020102@yandex.ru> <CAH2d3%2Btr8deqeGLPywXAXsRDPt_-3GwpkqPhK=zk5PtztvkK6g@mail.gmail.com> <4EEEAE03.1080908@yandex.ru> <CAH2d3%2BtE8s%2Bf6ni9GLdh0nHTQdN50BeaoAQ6%2BnYTrUBbJAiKDA@mail.gmail.com> <4EF2FBAE.8050406@yandex.ru> <CAH2d3%2BvWDbahx_kuo9_T8ezK2W9JGxyy74czeUTDopKKUzrQfg@mail.gmail.com> <4EF393BC.2020003@yandex.ru> <CAH2d3%2Bs1Tkizqoa5-spY92A82fgXxJ1m53Or4Fb5SPGhZKG4iw@mail.gmail.com> <CAH2d3%2Btd83z%2Bb0UG%2BH8%2BFmCe-A=dk1FAYd6k=1J43GrybyHsng@mail.gmail.com> <4EF3CF11.6070104@FreeBSD.org> <CAH2d3%2BtJT==ZbJxopTJiPewvS%2B6JOeAf_RSVdzD9fBBeDkEpYg@mail.gmail.com> <4EF3E10C.4070209@FreeBSD.org> <CAH2d3%2BvU4914NWZw=zpEOGB-dPrz4_mSmOwMTyGVQOZDn2G6Ug@mail.gmail.com> <4EF3F19D.6090905@FreeBSD.org> <CAH2d3%2BvDBtBSSv8y7keL7ogbzP0Kzy4esK9h0c79KQY9o%2BLiRw@mail.gmail.com> <4EF429BB.2040906@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 23, 2011 at 12:11 AM, Doug Barton <dougb@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@salt /usr/local/etc/rc.d]# ./salt_master start
Starting salt_master.
[root@salt /usr/local/etc/rc.d]# ./salt_master stop
salt_master not running? (check /var/run/salt_master.pid).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH2d3%2BubMdVMNncu_NNpXk1oCH8TM17pbaRLjkk09nrqHBwTqQ>