better webapp startup, using the terminal app's default command config

This allows the user to turn it off easily, or only start the assistant and
not the webapp.

I was not able to determine why having runshell run the webapp segfaulted.
Strace was not helpful. Oh well, this is better anyway.
This commit is contained in:
Joey Hess 2013-05-03 12:39:33 -04:00
parent 2e50754661
commit e3f76de319
2 changed files with 31 additions and 33 deletions

View file

@ -113,9 +113,6 @@ run () {
# As good a start point as any.
cd "$HOME"
$cmd echo "Starting git-annex interface, please wait ..."
$cmd nohup git-annex webapp || $cmd true
$cmd echo "The git-annex interface is no longer running."
/system/bin/sh
fi
}