Run of a script after filter restarting

  • Good afternoon!
    There is a perl-script which dynamically forms aliases (or tables) the package filter on the basis of the data stored in a database. I.e. this script reads out the data from DB and brings them in tables pf with certain periodicity. A problem that after addition of a new rule or application of a configuration of the filter, these tables are cleared. It is necessary to make so that after application of rules of the package filter automatically started the given script.

    BYP for my English.  :)