From c4b834a4adfa4f858ed9fd07b300588ec1c3e20e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 May 2014 16:15:56 +0900 Subject: [PATCH] man: drop reference to file locking for PID file creation from daemon(7) File locking is usually a bad idea, don't suggest using it. --- man/daemon.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/man/daemon.xml b/man/daemon.xml index b1f43f559..202b80eaa 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -158,9 +158,7 @@ it is verified at the same time that the PID previously stored in the PID file no longer exists or belongs to a - foreign process. Commonly, some kind of - file locking is employed to implement - this logic. + foreign process. In the daemon process, drop privileges, if possible and -- 2.30.2