I want to execute a script when monit is restarted. For my case, this mostly applies to the restart of the whole server.
How can I achieve this? Is there a way beside monit to do this?
Background: The server, where I need this, is a virtual server. It seems, that firewall rules in iptables are not persistant, so I need to set them on server start.
iptablesfirewall rules persistent, then, instead of this question? – Michael Hampton Jul 30 '12 at 5:32