Page 1 of 1

pre|post start hook scripts

Posted: 26 Apr 2011, 19:47
by branko
It would be nice to have pre start and post start hook scripts.
It shouldn't be hard to implement two extra variables in csf.conf to hold path to executable scripts which would run prior to starting and post csf startup.
They could be used to gather some statistical data, implement custom firewall rules outside csf's scope and so on...

Re: pre|post start hook scripts

Posted: 20 Jun 2011, 22:17
by antonaleksandrov
I vote for custom firewall rules!

Re: pre|post start hook scripts

Posted: 13 Jul 2011, 16:24
by chirpy
That feature has been available in csf for a long time. Look for csfpre.sh and csfpost.sh in the readme.txt documentation.