From: Davin McCall Date: Thu, 8 Jun 2017 08:10:17 +0000 (+0100) Subject: Document restart-delay and logfile settings. X-Git-Tag: v0.06~92 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28cf6c13f5270a76ef2c7dcc8d8a288ca43d0319;p=oweals%2Fdinit.git Document restart-delay and logfile settings. --- 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 =-=-=-=-=-=-=-=-=-=-