Quellcode durchsuchen

Add side note about %h macro escaping in a supervisord config file

Signed-off-by: Balthazar Rouberol <balthazar.rouberol@mapado.com>
Balthazar Rouberol vor 10 Jahren
Ursprung
Commit
a7e44097c0
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      docs/userguide/workers.rst

+ 3 - 0
docs/userguide/workers.rst

@@ -55,6 +55,9 @@ these will expand to:
     - ``worker1.%n`` -> ``worker1.george``
     - ``worker1.%d`` -> ``worker1.example.com``
 
+.. note:: If you're storing the worker invokation command in a supervisord configuration file, the ``%`` sign must be escaped by adding a second one.
+   Thus, ``%h`` must be written ``%%h``
+
 .. _worker-stopping:
 
 Stopping the worker