summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorghelmer <ghelmer@FreeBSD.org>2012-02-01 16:40:59 +0000
committerghelmer <ghelmer@FreeBSD.org>2012-02-01 16:40:59 +0000
commit8685a56d47f2075e9208beb1818b857cfbacc06d (patch)
treeadfaff56e16e5683272c423742dbce526866ca97 /usr.sbin
parenta7d7065053a579c6fe4ee05fa0a74496006b14a5 (diff)
downloadFreeBSD-src-8685a56d47f2075e9208beb1818b857cfbacc06d.zip
FreeBSD-src-8685a56d47f2075e9208beb1818b857cfbacc06d.tar.gz
Change the notes about the pidfile to include Doug's preference
for pre-creating the pidfile with appropriate owner and permissions. Requested by dougb
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/daemon/daemon.85
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8
index 7dde24b..d1d4e35 100644
--- a/usr.sbin/daemon/daemon.8
+++ b/usr.sbin/daemon/daemon.8
@@ -61,8 +61,9 @@ using the
functionality.
If the
.Fl u
-option is used, the directory to contain the pidfile must be writable
-by the specified user.
+option is used, either the pidfile needs to have been pre-created
+with appropriate ownership and permissions, or the directory to contain
+the pidfile must be writable by the specified user.
Note, that the file will be created shortly before the process is
actually executed, and will remain after the process exits (although
it will be removed if the execution fails).
OpenPOWER on IntegriCloud