add the ability to run the client from the appimage
authorArt Cancro <ajc@citadel.org>
Wed, 7 Jul 2021 21:22:30 +0000 (17:22 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 7 Jul 2021 21:22:30 +0000 (17:22 -0400)
appimage/citadel.AppDir/AppRun

index 70f00b9202c73325faeec58aa2413f57bc0c1ed2..5766ff2e55b47514890d7e30547b06e8b58a0d03 100755 (executable)
@@ -23,7 +23,7 @@ ulimit -c unlimited
 
 usage() {
        echo ${APPIMAGE}: usage: ${APPIMAGE} '[-h data_directory] [-p http_port] [-s https_port] command'
-       echo 'command must be one of: run, test, install, database_cleanup, migrate'
+       echo 'command must be one of: run, test, install, client, database_cleanup, migrate'
        exit 2
 }
 
@@ -194,6 +194,9 @@ case ${1} in
        install)
                installation
                ;;
+       client)
+               exec $APPDIR/usr/bin/citadel
+               ;;
        database_cleanup)
                export LD_LIBRARY_PATH=$APPDIR/usr/lib
                export PATH=$APPDIR/usr/bin:$PATH