From 28cf6c13f5270a76ef2c7dcc8d8a288ca43d0319 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Thu, 8 Jun 2017 09:10:17 +0100 Subject: [PATCH] Document restart-delay and logfile settings. --- README | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README b/README index 2b2c883..e78d2f9 100644 --- a/README +++ b/README @@ -164,6 +164,11 @@ smooth-recovery = yes | true | no | false the service does not reach the stopped state when the process terminates unexpectedly). +restart-delay = XXX.YYYY + Specifies the minimum time in seconds between automatic restarts. The + default is 0.2 (i.e. 200ms). This prevents Dinit from consuming processor + cycles when a process continuously fails immediately after it starts. + restart-limit-interval = XXX.YYYY Specifies the interval, in seconds, over which restarts are limited. If a process automatically restarts more than a certain number of times (default @@ -269,6 +274,10 @@ options = ( runs-on-console | nosigterm | starts-rwfs | starts-log ) ... untrusted processes. You should not use this option unless the service is designed to receive a Dinit control socket. +logfile = (log file path) + Specifies the log file for the service. Output from the service process + will go this file. + Controlling services =-=-=-=-=-=-=-=-=-=- -- 2.25.1