diff --git a/Shorewall-lite/manpages/shorewall-lite-vardir.xml b/Shorewall-lite/manpages/shorewall-lite-vardir.xml index a82f0a348..28d87d0dd 100644 --- a/Shorewall-lite/manpages/shorewall-lite-vardir.xml +++ b/Shorewall-lite/manpages/shorewall-lite-vardir.xml @@ -1,4 +1,6 @@ + shorewall-lite-vardir @@ -34,6 +36,28 @@ directory. If you add this file, you should copy the files from /var/lib/shorewall-lite to the new directory before performing a shorewall-lite restart. + + + Beginning with Shorewall 4.5.2, use of this file is deprecated in + favor of specifying VARDIR in the shorewallrc file + used during installation of Shorewall Core. While the name of the + variable remains VARDIR, the meaning is slightly different. When set in + shorewallrc, Shorewall Lite, will create a directory under the specified + path name to hold state information. + + Example: + +
+ VARDIR=/opt/var/lib/ + + The state directory for Shorewall Lite will be + /opt/var/lib/shorewall-lite/. +
+ + When VARDIR is set in /etc/shorewall-lite/vardir, Shorewall Lite + will save its state in the directory + specified. +
@@ -61,4 +85,4 @@ shorewall-tcrules(5), shorewall-tos(5), shorewall-tunnels(5), shorewall-zones(5) -
\ No newline at end of file + diff --git a/Shorewall6-lite/manpages/shorewall6-lite-vardir.xml b/Shorewall6-lite/manpages/shorewall6-lite-vardir.xml index d85b452bd..3daade303 100644 --- a/Shorewall6-lite/manpages/shorewall6-lite-vardir.xml +++ b/Shorewall6-lite/manpages/shorewall6-lite-vardir.xml @@ -36,6 +36,29 @@ directory. If you add this file, you should copy the files from /var/lib/shorewall6-lite to the new directory before performing a shorewall6-lite restart. + + + Beginning with Shorewall 4.5.2, use of this file is deprecated in + favor of specifying VARDIR in the shorewallrc file + used during installation of Shorewall Core. While the name of the + variable remains VARDIR, the meaning is slightly different. When set in + shorewallrc, Shorewall6 Lite will create a directory under the specified + path name to hold state information. + + Example: + +
+ VARDIR=/opt/var/lib/ + + The state directory for Shorewall Lite will be + /opt/var/lib/shorewall6-lite. +
+ + When VARDIR is set in + /etc/shorewall6-lite/vardir, Shorewall Lite will + save its state in the directory + specified. +