On 14/01/2012 21:07, Tom Eastep wrote:
>
> On Jan 14, 2012, at 9:34 AM, Brad Clarke wrote:
>
>> On Sat, Jan 14, 2012 at 10:39 AM, Laurent CARON
>> <[email protected]>  wrote:
>>> Hi,
>>>
>>> I'd like to know how possible it is to launch a particular command after
>>> shorewall has been started.
>>>
>>> In FIAIF it used to be: POST_START_SCRIPT[0]="/usr/bin/mycommand"
>>>
>>> I know it could be also shorewall start&&  /usr/bin/mycommand...but
>>> still I prefer the first approach.
>>>
>>
>> http://shorewall.net/configuration_file_basics.htm#Files
>>
>> I think /etc/shorewall/start will do what you need.
>>
>
> /etc/shorewall/start is executed before start is complete. 
> /etc/shorewall/started executes after the start/restart command is complete. 
> The command currently being executed is available in $COMMAND.


Hi,

Thanks for pointing this out.

Cheers

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to