diff options
author | Guy Helmer <ghelmer@FreeBSD.org> | 2012-02-01 16:40:59 +0000 |
---|---|---|
committer | Guy Helmer <ghelmer@FreeBSD.org> | 2012-02-01 16:40:59 +0000 |
commit | b34650e320b4d8b1036acc4b5581e9089196d26e (patch) | |
tree | adfaff56e16e5683272c423742dbce526866ca97 /usr.sbin | |
parent | 6af519cf187b8ca1968d35e84dc4cec6107f2e26 (diff) | |
download | src-b34650e320b4d8b1036acc4b5581e9089196d26e.tar.gz src-b34650e320b4d8b1036acc4b5581e9089196d26e.zip |
Change the notes about the pidfile to include Doug's preference
for pre-creating the pidfile with appropriate owner and permissions.
Requested by dougb
Notes
Notes:
svn path=/head/; revision=230869
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/daemon/daemon.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8 index 7dde24b46c7a..d1d4e357ebdf 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). |