'\" t .\" Title: shorewall6-lite-vardir .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 09/24/2020 .\" Manual: Configuration Files .\" Source: Configuration Files .\" Language: English .\" .TH "SHOREWALL6\-LITE\-VA" "5" "09/24/2020" "Configuration Files" "Configuration Files" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" vardir \- Shorewall6 Lite file .SH "SYNOPSIS" .HP \w'\fB/etc/shorewall6\-lite/vardir\fR\ 'u \fB/etc/shorewall6\-lite/vardir\fR .SH "DESCRIPTION" .PP This file does not exist by default\&. You may create the file if you want to change the directory used by Shorewall6 Lite to store state information, including compiled firewall scripts\&. By default, the directory used is /var/lib/shorewall6\-lite/\&. .PP The file contains a single variable assignment: .PP \fBVARDIR=\fR\fIdirectory\fR .PP where \fIdirectory\fR is the name of a directory\&. If you add this file, you should copy the files from /var/lib/shorewall6\-lite to the new directory before performing a \fBshorewall6\-lite restart\fR\&. .if n \{\ .sp .\} .RS 4 .it 1 an-trap .nr an-no-space-flag 1 .nr an-break-flag 1 .br .ps +1 \fBNote\fR .ps -1 .br .PP 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\&. .PP Example: .PP VARDIR=/opt/var/lib/ .PP The state directory for Shorewall Lite will be /opt/var/lib/shorewall6\-lite\&. .PP When VARDIR is set in /etc/shorewall6\-lite/vardir, Shorewall Lite will save its state in the \fIdirectory\fR specified\&. .sp .5v .RE .SH "EXAMPLE" .PP VARDIR=/root/shorewall6 .SH "FILES" .PP /etc/shorewall6\-lite/vardir .SH "SEE ALSO" .PP shorewall6(8), shorewall6\-accounting(5), shorewall6\-actions(5), shorewall6\-blacklist(5), shorewall6\-hosts(5), shorewall6\-interfaces(5), shorewall6\-maclist(5), shorewall6\-params(5), shorewall6\-policy(5), shorewall6\-providers(5), shorewall6\-route_rules(5), shorewall6\-routestopped(5), shorewall6\-rules(5), shorewall6\&.conf(5), shorewall6\-tcclasses(5), shorewall6\-tcdevices(5), shorewall6\-tcrules(5), shorewall6\-tos(5), shorewall6\-tunnels(5), shorewall6\-zones(5)