From: Joey Hess Date: Sat, 14 Mar 2020 19:50:37 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~122^2~85 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4b8b467165b95a494c7e8615136167919f47857;p=git-annex.git comment --- 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 index 0000000000..25d398f514 --- /dev/null +++ b/doc/bugs/git-annex_remotedaemon_--foreground_exits_immediately_if_run_as_systemd_service/comment_1_8573d3bb5ae9f3490265767128027ed1._comment @@ -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. +"""]]