summaryrefslogtreecommitdiff
path: root/doc/todo/windows_support
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-06-10 18:16:00 +0000
committerGravatar admin <admin@branchable.com>2014-06-10 18:16:00 +0000
commitfeabd5f66a7ff20907617902ce5f7d5ae22537c2 (patch)
tree1ba6b50f81a3b255f8c9e3b19d80a4121dad17ff /doc/todo/windows_support
parentc5ca07bcf3c4fc5fb3c129fafe0b40143c7f5dfd (diff)
Added a comment: nssm notes
Diffstat (limited to 'doc/todo/windows_support')
-rw-r--r--doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment b/doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment
new file mode 100644
index 000000000..494e3f43a
--- /dev/null
+++ b/doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment
@@ -0,0 +1,23 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ ip="108.236.230.124"
+ subject="nssm notes"
+ date="2014-06-10T18:16:00Z"
+ content="""
+* Have to install and run nssm as an administrator. (It may be possible to get it to run as a non-administrator user if the admin sets it up. I haven't succeeded.)
+* `nssm install git-annex`
+* Set path to git-annex, and set Arguments to: `assistant --autostart`
+* In Exit tab, change Restart to \"No action\"
+* In Process tab, uncheck \"Console window\"
+* Repositories to start up have to be listed in `C:\Documents and Settings\LocalService\.config\git-annex\autostart`
+ (rather than the normal user home directory)
+
+After all that it works! Even opening git-annex webapp from the menu avoids the console window (it appears briefly but then goes away).
+
+Most of this setup could be boiled down to a command line invocation, which git-annex could do at install time. However, it would still need to be run by the admin. Luckily the git-annex installation process already only works as admin (and I guess I could close the bug about that if it gets a legitimate reason to need admin..)
+
+Some changes in git-annex would improve this.
+
+* Maybe have a way to specify the user that git-annex is running on behalf of, and look in that user's home directory, rather than LocalService. (Other parts of the webapp UI, like adding a new repository, also use LocalService as the home directory, which is confusing).
+* Starting the webapp for the first time to create a repository still opens a console window, so find a workaround for this.
+"""]]