Restore lost <replaceable> tags.
This commit is contained in:
parent
9005bbed03
commit
d80fd048a6
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44693
1 changed files with 7 additions and 7 deletions
|
@ -203,11 +203,11 @@ pseudo-device md # memory disk</programlisting>
|
||||||
mounted read-only with <filename>/etc/fstab</filename> can be
|
mounted read-only with <filename>/etc/fstab</filename> can be
|
||||||
made read-write at any time by issuing the command:</para>
|
made read-write at any time by issuing the command:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>/sbin/mount -uw partition</userinput></screen>
|
<screen>&prompt.root; <userinput>/sbin/mount -uw <replaceable>partition</replaceable></userinput></screen>
|
||||||
|
|
||||||
<para>and can be toggled back to read-only with the command:</para>
|
<para>and can be toggled back to read-only with the command:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>/sbin/mount -ur partition</userinput></screen>
|
<screen>&prompt.root; <userinput>/sbin/mount -ur <replaceable>partition</replaceable></userinput></screen>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
|
@ -452,14 +452,14 @@ pseudo-device md # memory disk</programlisting>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<para>It is now assumed that Apache keeps its log files in a
|
<para>It is now assumed that Apache keeps its log files in a
|
||||||
directory <filename>apache_log_dir</filename>
|
directory <filename><replaceable>apache_log_dir</replaceable></filename>
|
||||||
outside of <filename>/var</filename>.
|
outside of <filename>/var</filename>.
|
||||||
When this directory lives on a read-only filesystem, Apache
|
When this directory lives on a read-only filesystem, Apache
|
||||||
will not be able to save any log files, and may have problems
|
will not be able to save any log files, and may have problems
|
||||||
working. If so, it is necessary to add a new directory to the
|
working. If so, it is necessary to add a new directory to the
|
||||||
list of directories in <filename>/etc/rc.d/var</filename> to
|
list of directories in <filename>/etc/rc.d/var</filename> to
|
||||||
create in <filename>/var</filename>, and to link
|
create in <filename>/var</filename>, and to link
|
||||||
<filename>apache_log_dir</filename>
|
<filename><replaceable>apache_log_dir</replaceable></filename>
|
||||||
to <filename>/var/log/apache</filename>. It is also necessary
|
to <filename>/var/log/apache</filename>. It is also necessary
|
||||||
to set permissions and ownership on this new directory.</para>
|
to set permissions and ownership on this new directory.</para>
|
||||||
|
|
||||||
|
@ -474,11 +474,11 @@ pseudo-device md # memory disk</programlisting>
|
||||||
<screen>&prompt.root; <userinput>chmod 0774 /var/log/apache</userinput>
|
<screen>&prompt.root; <userinput>chmod 0774 /var/log/apache</userinput>
|
||||||
&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput></screen>
|
&prompt.root; <userinput>chown nobody:nobody /var/log/apache</userinput></screen>
|
||||||
|
|
||||||
<para>Finally, remove the existing <filename>apache_log_dir</filename>
|
<para>Finally, remove the existing <filename><replaceable>apache_log_dir</replaceable></filename>
|
||||||
directory, and replace it with a link:</para>
|
directory, and replace it with a link:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>rm -rf apache_log_dir</userinput>
|
<screen>&prompt.root; <userinput>rm -rf <replaceable>apache_log_dir</replaceable></userinput>
|
||||||
&prompt.root; <userinput>ln -s /var/log/apache apache_log_dir</userinput></screen>
|
&prompt.root; <userinput>ln -s /var/log/apache <replaceable>apache_log_dir</replaceable></userinput></screen>
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in a new issue