From 02916a25f32b6c3b0a7c6762a170dba4635d80ad Mon Sep 17 00:00:00 2001 From: EliaOnceAgain Date: Mon, 2 May 2022 02:50:12 +0300 Subject: [PATCH] Build: Check for the 'service' argument in AppRun --- build_scripts/appimage/AppRun | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_scripts/appimage/AppRun b/build_scripts/appimage/AppRun index 53ef0fa5e..1ed075693 100755 --- a/build_scripts/appimage/AppRun +++ b/build_scripts/appimage/AppRun @@ -13,6 +13,10 @@ export TKPATH="${TK_LIBRARY}" # Export SSL certificate 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 for opt in "$@" do