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.
|
# As good a start point as any.
|
||||||
cd "$HOME"
|
cd "$HOME"
|
||||||
|
|
||||||
$cmd echo "Starting webapp ..."
|
$cmd echo "Starting git-annex interface, please wait ..."
|
||||||
$cmd nohup git annex webapp >/dev/null &
|
# 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
|
/system/bin/sh
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue