rut-test-ops/global/overlay/usr/local/libexec/cosmos-cron-wrapper

11 lines
249 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
RUN_COSMOS=/usr/local/bin/run-cosmos
SCRIPTHERDER_CMD=''
if [ -f /usr/local/bin/scriptherder ]; then
SCRIPTHERDER_CMD='/usr/local/bin/scriptherder --mode wrap --syslog --name cosmos --'
fi
${SCRIPTHERDER_CMD} ${RUN_COSMOS}