X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=appimage%2Fcitadel.AppDir%2FAppRun;h=70f00b9202c73325faeec58aa2413f57bc0c1ed2;hb=4397e5ac9918708106a00cd2bde21c46ece9e191;hp=e498fe4288fad8c21cdc01e2e737185e95723122;hpb=76a0216278f0a014d3533de9150adbc9f74085ab;p=citadel.git diff --git a/appimage/citadel.AppDir/AppRun b/appimage/citadel.AppDir/AppRun index e498fe428..70f00b920 100755 --- a/appimage/citadel.AppDir/AppRun +++ b/appimage/citadel.AppDir/AppRun @@ -203,7 +203,26 @@ case ${1} in export APPDIR CTDL_DIR HTTP_PORT HTTPS_PORT export LD_LIBRARY_PATH=$APPDIR/usr/lib export PATH=$APPDIR/usr/bin - exec ctdlvisor -m -h $CTDL_DIR + exec ctdlvisor -m + ;; + mount) + echo This mode of operation mounts the AppImage but does not run anything. + echo -n Kill it when you are finished... + while true + do + sleep 1 + done + ;; + debug) + export LD_LIBRARY_PATH=$APPDIR/usr/lib + export PATH=$APPDIR/usr/bin:$PATH + exec $APPDIR/usr/local/citadel/citserver -x9 -h $CTDL_DIR + ;; + connect) + export LD_LIBRARY_PATH=$APPDIR/usr/lib + export PATH=$APPDIR/usr/bin:$PATH + cd $APPDIR + exec citadel $* ;; *) echo Unexpected command: ${1}