Files
akyldash/infra/deploy/akyldash-release-rollback.sh

10 lines
300 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if [[ $EUID -ne 0 || $# -ne 0 ]]; then
echo "This fixed receiver is owner-run as root and accepts its request only on stdin." >&2
exit 1
fi
export PATH=/usr/local/lib/akyldash:/usr/bin:/bin
exec /usr/bin/python3 /usr/local/lib/akyldash/external_rollback.py