From bd9d9c83030539b3c969dab372db78c52b9fe694 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Thu, 28 Sep 2017 08:22:28 +0200 Subject: [PATCH] Add early example of conditions in service stanza Signed-off-by: Joachim Nilsson --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 381df7d0..1776b240 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,12 @@ advanced uses as well: service /usr/sbin/sshd -D +Dependencies are handled using [conditions](doc/conditions.md). On of +the most common conditions is to wait for basic networking to become +available: + + service /usr/sbin/nginx -- High performace HTTP server + **Note:** Make sure daemons *do not* fork and detach themselves from the controlling TTY, usually an `-n` or `-f` flag, or `-D as in the case of OpenSSH above.. If it detaches itself, Finit cannot monitor it and