work around weird behavior when starting webapp not in shell
It seems to need nohup, or it segfaults on startup. I suspect the problem is the command that opens the web browser.
This commit is contained in:
parent
24c8474a0b
commit
214931546c
1 changed files with 4 additions and 2 deletions
|
@ -110,8 +110,10 @@ run () {
|
|||
# As good a start point as any.
|
||||
cd "$HOME"
|
||||
|
||||
$cmd echo "Starting webapp ..."
|
||||
$cmd nohup git annex webapp >/dev/null &
|
||||
$cmd echo "Starting git-annex interface, please wait ..."
|
||||
# For some reason this needs to run in the foreground.
|
||||
$cmd nohup git annex webapp
|
||||
$cmd echo "The git-annex interface is no longer running."
|
||||
/system/bin/sh
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue