forked from p34709852/monkey
Build: Check for the 'service' argument in AppRun
This commit is contained in:
parent
1c702b28ba
commit
02916a25f3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue