From c1c9d955954c2e0ce2e209015c5bb172d86013b4 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 30 May 2018 17:12:46 +0000 Subject: [PATCH] --- .../git-annex_webapp_launch_behavior_is_confusing.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/git-annex_webapp_launch_behavior_is_confusing.mdwn diff --git a/doc/forum/git-annex_webapp_launch_behavior_is_confusing.mdwn b/doc/forum/git-annex_webapp_launch_behavior_is_confusing.mdwn new file mode 100644 index 0000000000..d061913e82 --- /dev/null +++ b/doc/forum/git-annex_webapp_launch_behavior_is_confusing.mdwn @@ -0,0 +1,8 @@ +After first installing git-annex if I run `git-annex webapp` on Ubuntu 16.04.4 LTS (annex version 6.20180528-g5300386c2) then the process does not go to the background, but instead stays a foreground process. I can add files to a repo that assistant is watching and it will see them. But, if I then close the web browser and then kill the foreground process that launched the webapp, then all annex processes go away, and git-annex assistant is no longer running anywhere. IE if I then add a file to an assistant repo it won't be seen. + +If I reboot, then a bunch of annex processes are automatically started as daemons. Now my repos are watched again. If I launch git-annex webapp, this time the process immediately forks to the background which is different behavior. + +The behavior I would expect is that calling `git-annex webapp` should launch, the webapp dameon, load the page in a browser and call something like `git-annex assistant --autostart` as well. + + +—[Andrew](http://git-annex.branchable.com/users/andrew/)