summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-01-11 12:58:45 +0000
committerLaurent Bercot <ska@appnovation.com>2023-01-11 12:58:45 +0000
commit9c69cc8af6bc8c54b42313a30c92c27fda5de318 (patch)
tree2b0da01046679dc9d867c77e644452ea6b66e440
parenta73c94f6adf37f2f7af655b016d8f03209ecdc46 (diff)
downloads6-9c69cc8af6bc8c54b42313a30c92c27fda5de318.tar.gz
s6-9c69cc8af6bc8c54b42313a30c92c27fda5de318.tar.xz
s6-9c69cc8af6bc8c54b42313a30c92c27fda5de318.zip
Mention -D/-U edge case in s6-supervise doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--doc/s6-supervise.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/s6-supervise.html b/doc/s6-supervise.html
index 943a347..fde1da7 100644
--- a/doc/s6-supervise.html
+++ b/doc/s6-supervise.html
@@ -211,6 +211,12 @@ service. </li>
 subdirectory of <em>servicedir</em>. <em>servicedir</em> itself can be read-only,
 but both <em>servicedir</em><tt>/supervise</tt> and <em>servicedir</em><tt>/event</tt>
 need to be read-write. </li>
+ <li> If <em>servicedir</em> is read-only, then the <a href="s6-svc.html">s6-svc</a>
+<tt>-D</tt> and <tt>-U</tt> commands will not work properly since s6-supervise will
+be unable to create or delete a <em>servicedir<em><tt>/down</tt> file; in this case
+s6-supervise will print a warning on stderr, and perform the equivalent of <tt>-d</tt>
+and <tt>-u</tt> instead, but will be unable to change the permanent service
+configuration. </li>
 </ul>
 
 <h2> Implementation notes </h2>