service: fix recently introduced double-start bug.
[oweals/dinit.git] / README
diff --git a/README b/README
index e78d2f91237af8efe2cbaefc01bcc66ecc67b1e5..6c7bd26d7757818b7c3399d64d7f0a4d4669f5b7 100644 (file)
--- a/README
+++ b/README
@@ -177,9 +177,16 @@ restart-limit-interval = XXX.YYYY
    restarting ad infinitum.
 
 restart-limit-count = NNN
-       Specifies the maximum number of times that a service can automatically
-       restart over the interval specified by restart-limit-interval (default of
-       10 seconds). Specify a value of 0 to disable the restart limit.
+   Specifies the maximum number of times that a service can automatically
+   restart over the interval specified by restart-limit-interval (default of
+   10 seconds). Specify a value of 0 to disable the restart limit.
+
+stop-timeout = XXX.YYYY
+   Specifies the time in seconds allowed for the service to stop. If the
+   service takes longer than this, its process group is sent a SIGKILL signal
+   which should cause it to terminate immediately. The timeout period begins
+   only when all dependent services have already stopped. The default stop
+   timeout is 10 seconds.
 
 pid-file = (path to file)
    For "bgprocess" type services only; specifies the path of the file where