Add prestart,poststart,prestop,poststop hook

You can execute some script before/after the
start/stop defined in the config file.