Document better 'try' command

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5030 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-12-01 17:46:00 +00:00
parent 5af734ca77
commit 06c79adc54

View File

@ -1359,6 +1359,29 @@ gateway:~ #</programlisting>
<ulink
url="Documentation.htm#Conf">/etc/shorewall/shorewall.conf</ulink>)
exists. then that script is used.</para>
<para>The <command>try</command> command is deprecated. A better
approach to testing new configurations is:</para>
<blockquote>
<para><command>shorewall save</command></para>
<para><command>shorewall restart
&lt;configuration-directory&gt;</command> [ <command>&amp;&amp;
sleep &lt;timeout&gt; &amp;&amp; shorewall restore</command>
]</para>
<para><emphasis>fix problems</emphasis></para>
<para><command>shorewall restart
&lt;configuration-directory&gt;</command> [ <command>&amp;&amp;
sleep &lt;timeout&gt; &amp;&amp; shorewall restore</command>
]</para>
<para><emphasis>fix problems</emphasis></para>
<para></para>
</blockquote>
</listitem>
</varlistentry>