On 10/10/2015 12:04 AM, hitesh menghani wrote:
> Hi All,
> 
> I am using shorewall stopped file for execution of some commands after
> shorewall stops.
> 
> When I put shorewall start command in stopped file it is throwing below
> error
> ERROR: The variable name VARDIR is reserved and may not be set in the
> params file
> 
> I am not using any variable in params file and rest all commands are
> working fine in script.
> Also when I immediately fire*shorewall start* command after *shorewall
> stop *from terminal it is working fine.
> Also I tried to call another script(containing *shorewall start*) with
> different shell environment from stopped file, it is giving same error.
> 
> So wanted to ask, what will be solution for this problem?
> Is there any other method, to prevent shorewall to stop.
> 

With Shorewall running, do 'shorewall save'. That way, when Shorewall
stops during 'restart' because of an error, the saved configuration will
be restored. When you change your configuration and are satisfied that
it is working correctly, do another 'shorewall save'.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to