Build: Check for the 'service' argument in AppRun

This commit is contained in:
EliaOnceAgain 2022-05-02 02:50:12 +03:00 committed by Mike Salvatore
parent 1c702b28ba
commit 02916a25f3
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ export TKPATH="${TK_LIBRARY}"
# Export SSL certificate # Export SSL certificate
export SSL_CERT_FILE="${APPDIR}/opt/_internal/certs.pem" export SSL_CERT_FILE="${APPDIR}/opt/_internal/certs.pem"
if [ "$1" == "service" ] ; then
exec /bin/bash "${APPDIR}/install-infection-monkey-service.sh" ${@:2}
fi
# Call the entry point # Call the entry point
for opt in "$@" for opt in "$@"
do do