openbsd-ports/sysutils/salt/pkg/salt_syndic.rc
ajacoutot 6551f3fb89 The homedir of the user running salt must be outside of the /srv/salt
hierarchy because content of that path is available to all minions; so
move it to /var/salt .
Rename _salt-master to _salt for consistency.
discussed with "viq"

While here, drop rc_pre() from the minion and syndir rc.d(8) scripts,
they are not needed.
2014-06-17 12:30:39 +00:00

14 lines
257 B
Bash

#!/bin/sh
#
# $OpenBSD: salt_syndic.rc,v 1.2 2014/06/17 12:30:39 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/salt-syndic -d"
daemon_flags="-u _salt"
. /etc/rc.d/rc.subr
pexp="${MODPY_BIN} ${daemon}${daemon_flags:+ ${daemon_flags}}"
rc_reload=NO
rc_cmd $1