viper-app/deploy/sys-root/docker-entrypoint.sh

8 lines
92 B
Bash
Raw Normal View History

2023-02-03 16:18:31 +08:00
#!/usr/bin/env sh
set -e
if [ "$1" = "${cmd}" ]; then
exec su-exec app "$@"
fi
exec "$@"