mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
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. (cherry picked from commitc4b834a4ad) (cherry picked from commitab28d5c3ed)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
c194931d2e
commit
977df069dc
+1
-3
@@ -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.</para></listitem>
|
||||
foreign process.</para></listitem>
|
||||
|
||||
<listitem><para>In the daemon process,
|
||||
drop privileges, if possible and
|
||||
|
||||
Reference in New Issue
Block a user