diff options
author | Joey Hess <joey@kitenet.net> | 2014-06-16 18:34:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-06-16 18:34:51 -0400 |
commit | 43f5e9d3eb748eeb60250366c23a3cfb494ab9b7 (patch) | |
tree | 315fbde1d0ba075919faf6540e39a06c7acd99b4 /doc/todo | |
parent | ef4de5d79b8ef1dbd1749f5e1e56e112eb9cd10d (diff) |
split out windows service todo
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/windows_git-annex_service.mdwn | 30 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_11_c3af14453e99dae5425deaa26ca7310e._comment (renamed from doc/todo/windows_support/comment_11_c3af14453e99dae5425deaa26ca7310e._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_12_d3d91ddc00bc275455022d86b779b148._comment (renamed from doc/todo/windows_support/comment_12_d3d91ddc00bc275455022d86b779b148._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment (renamed from doc/todo/windows_support/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment (renamed from doc/todo/windows_support/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_15_fcd34607116183cc1a764fb307eabe0a._comment (renamed from doc/todo/windows_support/comment_15_fcd34607116183cc1a764fb307eabe0a._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment (renamed from doc/todo/windows_support/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment (renamed from doc/todo/windows_support/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_18_3a408492107ca6f120b631ce8c41faef._comment (renamed from doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment (renamed from doc/todo/windows_support/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_git-annex_service/comment_20_ca245781a37db5546da3f7204adbeebb._comment (renamed from doc/todo/windows_support/comment_20_ca245781a37db5546da3f7204adbeebb._comment) | 0 | ||||
-rw-r--r-- | doc/todo/windows_support.mdwn | 5 |
12 files changed, 31 insertions, 4 deletions
diff --git a/doc/todo/windows_git-annex_service.mdwn b/doc/todo/windows_git-annex_service.mdwn new file mode 100644 index 000000000..5fad4841e --- /dev/null +++ b/doc/todo/windows_git-annex_service.mdwn @@ -0,0 +1,30 @@ +## git-annex as service on windows + +Use nssm to run git-annex as a service. Will need to include it in the +git-annex bundle. + +Problem: nssm runs git-annex as a service as a LocalService user. (Or some +similar user.) This leads to permission problems, when the normal user +tries to write to its directory. + +Solution: Make `git-annex mkservice $repo` command (only avilable on +Windows) that does: + +1. git -c core.sharedRepository=true init $repo +2. cd $repo; git annex init +4. chmod 777 -R $repo +5. Add $repo to C:\Documents and Settings\All Users\.config\git-annex\autostart +6. If git-annex service does not yet exist in nssm, set it up and start it. + +Note that the shared repository perms are not perfect, but this should +allow any user to drop files into the annex, and whatever use the service +runs as (probably LocalService) can write to the .git/ repository). + +Make git-annex read `C:\Documents and Settings\All Users\.config\git-annex\autostart` +on Windows, rather than the one in $HOME. This way, `git annex assistant +--autostart` and `git annex webapp` will use it, no matter which user. + +This bypasses the normal webapp configuration of the repo, but an annex +folder on the desktop is a fine default in Windows, and the webapp can be +used to add other repositories if desired. (Might need to tweak their +permissions though.) diff --git a/doc/todo/windows_support/comment_11_c3af14453e99dae5425deaa26ca7310e._comment b/doc/todo/windows_git-annex_service/comment_11_c3af14453e99dae5425deaa26ca7310e._comment index 83e2ba514..83e2ba514 100644 --- a/doc/todo/windows_support/comment_11_c3af14453e99dae5425deaa26ca7310e._comment +++ b/doc/todo/windows_git-annex_service/comment_11_c3af14453e99dae5425deaa26ca7310e._comment diff --git a/doc/todo/windows_support/comment_12_d3d91ddc00bc275455022d86b779b148._comment b/doc/todo/windows_git-annex_service/comment_12_d3d91ddc00bc275455022d86b779b148._comment index df4545911..df4545911 100644 --- a/doc/todo/windows_support/comment_12_d3d91ddc00bc275455022d86b779b148._comment +++ b/doc/todo/windows_git-annex_service/comment_12_d3d91ddc00bc275455022d86b779b148._comment diff --git a/doc/todo/windows_support/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment b/doc/todo/windows_git-annex_service/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment index 3d630ed0c..3d630ed0c 100644 --- a/doc/todo/windows_support/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment +++ b/doc/todo/windows_git-annex_service/comment_13_59fbe4d07cdbeb786bae792f9c709ddd._comment diff --git a/doc/todo/windows_support/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment b/doc/todo/windows_git-annex_service/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment index 9d7fb9ff0..9d7fb9ff0 100644 --- a/doc/todo/windows_support/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment +++ b/doc/todo/windows_git-annex_service/comment_14_79fc0ff98c5bba2ed616e52e5a58e28f._comment diff --git a/doc/todo/windows_support/comment_15_fcd34607116183cc1a764fb307eabe0a._comment b/doc/todo/windows_git-annex_service/comment_15_fcd34607116183cc1a764fb307eabe0a._comment index 57505d1d9..57505d1d9 100644 --- a/doc/todo/windows_support/comment_15_fcd34607116183cc1a764fb307eabe0a._comment +++ b/doc/todo/windows_git-annex_service/comment_15_fcd34607116183cc1a764fb307eabe0a._comment diff --git a/doc/todo/windows_support/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment b/doc/todo/windows_git-annex_service/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment index 53b705d05..53b705d05 100644 --- a/doc/todo/windows_support/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment +++ b/doc/todo/windows_git-annex_service/comment_16_6a6424f23772e57f1adb1807ca8b93fa._comment diff --git a/doc/todo/windows_support/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment b/doc/todo/windows_git-annex_service/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment index 520e50154..520e50154 100644 --- a/doc/todo/windows_support/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment +++ b/doc/todo/windows_git-annex_service/comment_17_62a1a33c2aaf4b0b8a0149ec526907d7._comment diff --git a/doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment b/doc/todo/windows_git-annex_service/comment_18_3a408492107ca6f120b631ce8c41faef._comment index 494e3f43a..494e3f43a 100644 --- a/doc/todo/windows_support/comment_18_3a408492107ca6f120b631ce8c41faef._comment +++ b/doc/todo/windows_git-annex_service/comment_18_3a408492107ca6f120b631ce8c41faef._comment diff --git a/doc/todo/windows_support/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment b/doc/todo/windows_git-annex_service/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment index ec3cf7b09..ec3cf7b09 100644 --- a/doc/todo/windows_support/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment +++ b/doc/todo/windows_git-annex_service/comment_19_c6cbc8fe9218f90c661cd1026658c939._comment diff --git a/doc/todo/windows_support/comment_20_ca245781a37db5546da3f7204adbeebb._comment b/doc/todo/windows_git-annex_service/comment_20_ca245781a37db5546da3f7204adbeebb._comment index badb5308a..badb5308a 100644 --- a/doc/todo/windows_support/comment_20_ca245781a37db5546da3f7204adbeebb._comment +++ b/doc/todo/windows_git-annex_service/comment_20_ca245781a37db5546da3f7204adbeebb._comment diff --git a/doc/todo/windows_support.mdwn b/doc/todo/windows_support.mdwn index 0afcbb4fe..59e701610 100644 --- a/doc/todo/windows_support.mdwn +++ b/doc/todo/windows_support.mdwn @@ -3,10 +3,7 @@ now! --[[Joey]] ## status -* Doesn't daemonize. Maybe use - <http://hackage.haskell.org/package/Win32-services> - or perhaps easier, - <http://hackage.haskell.org/package/Win32-services-wrapper> +* [[todo/windows_git-annex_service]] needed * XMPP library not yet built. (See below.) |