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 70f00b9..5766ff2 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