summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 13:50:47 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 13:50:47 -0400
commitec5fe22520dc96f5e1422925a749cf287f83816e (patch)
tree836283d6638734f86fc5c39a795d712483f6082b
parent9e234edc3dfb6d978e5bf3aaf7dbed7f88725b2a (diff)
comment
-rw-r--r--doc/forum/Autostart_the_assistant/comment_2_df70bd0f5caab43503a3c9d805323289._comment35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/forum/Autostart_the_assistant/comment_2_df70bd0f5caab43503a3c9d805323289._comment b/doc/forum/Autostart_the_assistant/comment_2_df70bd0f5caab43503a3c9d805323289._comment
new file mode 100644
index 000000000..3bad9e467
--- /dev/null
+++ b/doc/forum/Autostart_the_assistant/comment_2_df70bd0f5caab43503a3c9d805323289._comment
@@ -0,0 +1,35 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2016-03-14T17:41:38Z"
+ content="""
+The way autostart works is, the repository gets listed in
+`~/.config/git-annex/autostart` -- setting up that file is all that
+the webapp preferences does.
+
+`git annex assistant --autostart` looks at that files and gets the
+assistant running in each listed repository.
+
+Now, something has to take care of running that command when the system
+starts or you log in or whatever. At this point it gets OS dependant.
+
+For example, on Debian, this is handled by the git-annex package containing
+`/etc/xdg/autostart/git-annex.desktop`
+
+Sounds like they may have left this file out of the Arch package.
+
+git-annex's `make install` handles building that desktop file. It only
+generates it if run as root, or with DESTDIR set. One or the other should
+normally be the case when building a package.
+
+Here's the content of `/etc/xdg/autostart/git-annex.desktop`
+
+ [Desktop Entry]
+ Type=Application
+ Version=1.0
+ Name=Git Annex Assistant
+ Comment=Autostart
+ Terminal=false
+ Exec=/usr/bin/git-annex assistant --autostart
+ Categories=
+"""]]