projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e1c5fb
)
add the ability to run the client from the appimage
author
Art Cancro
<ajc@citadel.org>
Wed, 7 Jul 2021 21:22:30 +0000
(17:22 -0400)
committer
Art Cancro
<ajc@citadel.org>
Wed, 7 Jul 2021 21:22:30 +0000
(17:22 -0400)
appimage/citadel.AppDir/AppRun
patch
|
blob
|
history
diff --git
a/appimage/citadel.AppDir/AppRun
b/appimage/citadel.AppDir/AppRun
index 70f00b9202c73325faeec58aa2413f57bc0c1ed2..5766ff2e55b47514890d7e30547b06e8b58a0d03 100755
(executable)
--- a/
appimage/citadel.AppDir/AppRun
+++ b/
appimage/citadel.AppDir/AppRun
@@
-23,7
+23,7
@@
ulimit -c unlimited
usage() {
echo ${APPIMAGE}: usage: ${APPIMAGE} '[-h data_directory] [-p http_port] [-s https_port] command'
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
}
exit 2
}
@@
-194,6
+194,9
@@
case ${1} in
install)
installation
;;
install)
installation
;;
+ client)
+ exec $APPDIR/usr/bin/citadel
+ ;;
database_cleanup)
export LD_LIBRARY_PATH=$APPDIR/usr/lib
export PATH=$APPDIR/usr/bin:$PATH
database_cleanup)
export LD_LIBRARY_PATH=$APPDIR/usr/lib
export PATH=$APPDIR/usr/bin:$PATH