From 06c79adc54b7a15635137b550d1b45970d3b55f8 Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 1 Dec 2006 17:46:00 +0000 Subject: [PATCH] Document better 'try' command git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5030 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/starting_and_stopping_shorewall.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/starting_and_stopping_shorewall.xml b/docs/starting_and_stopping_shorewall.xml index 972ca4fbb..37d632425 100644 --- a/docs/starting_and_stopping_shorewall.xml +++ b/docs/starting_and_stopping_shorewall.xml @@ -1359,6 +1359,29 @@ gateway:~ # /etc/shorewall/shorewall.conf) exists. then that script is used. + + The try command is deprecated. A better + approach to testing new configurations is: + +
+ shorewall save + + shorewall restart + <configuration-directory> [ && + sleep <timeout> && shorewall restore + ] + + fix problems + + shorewall restart + <configuration-directory> [ && + sleep <timeout> && shorewall restore + ] + + fix problems + + +