viper-app/deploy/sys-root/docker-entrypoint.sh
2023-02-03 16:18:31 +08:00

8 lines
92 B
Bash

#!/usr/bin/env sh
set -e
if [ "$1" = "${cmd}" ]; then
exec su-exec app "$@"
fi
exec "$@"