Created attachment 159462 [details] Salt API service control script The Salt API service is missing an rc(8) script. A simple one based on the salt_master rc script is attached.
Looks good. Thanks for the patch!
Take for testing.
I've accommodated this addition in the https://bugs.FreeBSD.org/202417 for the 2015.5.4 update and will close out this PR when I get approval to commit that. In the future, take a look at the existing scripts in /usr/ports/sysutils/py-salt/files. You'll want to use %%PREFIX%% and %%PYTHON_CMD%% rather than the hard coded paths.
A commit references this bug: Author: junovitch Date: Sun Aug 23 23:46:48 UTC 2015 New revision: 395146 URL: https://svnweb.freebsd.org/changeset/ports/395146 Log: sysutils/py-salt: update 2015.5.3 -> 2015.5.4 [1], add salt_api rc script [2] PR: 202417 [1] PR: 202042 [2] Submitted by: Christer Edwards <christer.edwards@gmail.com> (maintainer) [1] Submitted by: xenophon+fbsdports@irtnog.org [2] Approved by: maintainer [2], feld (mentor) Changes: head/sysutils/py-salt/Makefile head/sysutils/py-salt/distinfo head/sysutils/py-salt/files/salt_api.in head/sysutils/py-salt/pkg-plist
Committed with corrections discussed in comment 3. Thank you both!