comment
authorJoey Hess <joeyh@joeyh.name>
Sat, 14 Mar 2020 19:50:37 +0000 (15:50 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sat, 14 Mar 2020 19:50:37 +0000 (15:50 -0400)
doc/bugs/git-annex_remotedaemon_--foreground_exits_immediately_if_run_as_systemd_service/comment_1_8573d3bb5ae9f3490265767128027ed1._comment [new file with mode: 0644]

diff --git a/doc/bugs/git-annex_remotedaemon_--foreground_exits_immediately_if_run_as_systemd_service/comment_1_8573d3bb5ae9f3490265767128027ed1._comment b/doc/bugs/git-annex_remotedaemon_--foreground_exits_immediately_if_run_as_systemd_service/comment_1_8573d3bb5ae9f3490265767128027ed1._comment
new file mode 100644 (file)
index 0000000..25d398f
--- /dev/null
@@ -0,0 +1,14 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2020-03-14T19:47:45Z"
+ content="""
+remotedaemon --foreground speaks a line-based API over stdio.
+So it does not make sense to use it the way you're using it.
+
+It may be that --foreground should be renamed to something else, and a new
+--foreground option added that just runs the daemon in its usual mode w/o
+backgrounding. I think only the assistant uses --foreground, although it is
+a documented option and there's always the possibility someone has found a
+use for it.
+"""]]