generic-worker on macOS: run as unprivileged user, start as a service

This commit is contained in:
Simon Sapin 2018-11-12 19:48:17 +01:00
parent 889d479935
commit 70f507879f
8 changed files with 115 additions and 16 deletions

View file

@ -11,4 +11,4 @@ set -o pipefail
cd "$(dirname $0)"
VENV_BIN="../../../python/_virtualenv/bin"
[ -x "${VENV_BIN}/salt-ssh" ] || "${VENV_BIN}/pip" install salt-ssh
"${VENV_BIN}/salt-ssh" "${@}"
"${VENV_BIN}/salt-ssh" "${@}"