🗃️ Committing everything that changed 🗃️

rootfs/usr/local/bin/entrypoint.sh
This commit is contained in:
casjay 2025-05-13 18:09:41 -04:00
parent 1a9d779ebe
commit 9335999df1
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -51,10 +51,29 @@ case "$1" in
-h | --help)
shift 1
echo 'Docker container for '$CONTAINER_NAME''
echo "Usage: $CONTAINER_NAME [cron exec start init shell certbot ssl procs ports healthcheck backup command]"
echo "Usage: $CONTAINER_NAME [help tail cron exec start init shell certbot ssl procs ports healthcheck backup command]"
echo ""
exit 0
;;
tail)
shift 1
case "$1" in
null)
shift $#
tail -f "/dev/null"
;;
app)
shift $#
tail -f /data/logs/*/*.log
;;
-*)
tail "$@"
;;
*)
tail -f "${@:-/dev/null}"
;;
esac
;;
-*)
shift
;;
@ -411,18 +430,6 @@ init)
echo "Container has been Initialized"
exit 0
;;
tail)
shift 1
case "$1" in
app)
shift 1
tail -f /data/logs/*/*.log
;;
*)
tail -f "${@:-/dev/null}"
;;
esac
;;
logs)
shift 1
case "$1" in