mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-02 21:04:06 +03:00
17 lines
465 B
Bash
17 lines
465 B
Bash
#!/usr/bin/env sh
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
set -eu
|
|
|
|
command="${1:-}"
|
|
case "$command" in
|
|
eval | console | remote_console | remote | remsh | console_clean | console_boot | daemon | daemon_boot | daemon_attach | escript)
|
|
echo "fluxer_gateway: '$command' is disabled in production; use bounded rpc/runtime tools instead." >&2
|
|
exit 64
|
|
;;
|
|
esac
|
|
|
|
script_dir="$(CDPATH='' cd "$(dirname "$0")" && pwd -P)"
|
|
exec "$script_dir/fluxer_gateway.real" "$@"
|