Fix #60: document how to set side-wide permissions on log files
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
parent
b234244680
commit
153e6c4b65
@ -107,6 +107,16 @@ a file can reach before it is rotated, and later compressed. This
|
|||||||
feature is mostly intended for embedded systems that do not want to have
|
feature is mostly intended for embedded systems that do not want to have
|
||||||
cron or a separate log rotate daemon.
|
cron or a separate log rotate daemon.
|
||||||
.Pp
|
.Pp
|
||||||
|
.Sy Note:
|
||||||
|
the permissions of the rotated files are kept. Meaning the
|
||||||
|
administrator can create all log files, before starting
|
||||||
|
.Nm
|
||||||
|
the first time, with the permissions needed for the site. However, if
|
||||||
|
the log files do not exist,
|
||||||
|
.Nm
|
||||||
|
will create them with the user and group it runs as and 0644
|
||||||
|
permissions.
|
||||||
|
.Pp
|
||||||
Comments, lines starting with a hash mark ('#'), and empty lines are
|
Comments, lines starting with a hash mark ('#'), and empty lines are
|
||||||
ignored. If an error occurs during parsing the whole line is ignored.
|
ignored. If an error occurs during parsing the whole line is ignored.
|
||||||
.Pp
|
.Pp
|
||||||
|
@ -330,6 +330,16 @@ The size argument takes optional modifiers; k, M, G. E.g., 100M is
|
|||||||
The optional number of files kept include both gzipped files and the
|
The optional number of files kept include both gzipped files and the
|
||||||
first rotated (not zipped) file. The default for this, when omitted,
|
first rotated (not zipped) file. The default for this, when omitted,
|
||||||
is 5.
|
is 5.
|
||||||
|
.Pp
|
||||||
|
.Sy Note:
|
||||||
|
the permissions of the rotated files are kept. Meaning the
|
||||||
|
administrator can create all log files, before starting
|
||||||
|
.Nm
|
||||||
|
the first time, with the permissions needed for the site. However, if
|
||||||
|
the log files do not exist,
|
||||||
|
.Nm
|
||||||
|
will create them with the user and group it runs as and 0644
|
||||||
|
permissions.
|
||||||
.It Fl s
|
.It Fl s
|
||||||
Operate in secure mode. Do not log messages from remote machines. If
|
Operate in secure mode. Do not log messages from remote machines. If
|
||||||
specified twice, no network socket will be opened at all, which also
|
specified twice, no network socket will be opened at all, which also
|
||||||
|
Loading…
Reference in New Issue
Block a user