Created entrypoint script for logging stuff

More logic will be added soon.
This commit is contained in:
Andrei Jiroh Eugenio Halili 2021-08-29 21:21:02 +08:00 committed by GitHub
parent c7346bb9f0
commit 0bc516dfeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/bash
LOGGER_TARGET_FILE="/var/tests/exec-log.txt"
if [[ $LOG_EVERYTHING == "" || $LOG_EVERYTHING == "false" ]]; then
exec "$@"
fi