On Tue, Feb 2, 2010 at 08:20, Ritesh Raj Sarraf <email address hidden> wrote:
> I think what we need here is a new module, something like exec_cmd.
>
> It definitely will not be a start/stop kind of thing.
>
Perhaps the start-stop-programs module can be extended to support in-line
commands to be executed on state changes, in addition to the service
start/stop support that is already there? I must say that the service
starting/stopping support is a bit complicated to configure, it's well
suited for starting/stopping services that have an init script, but not easy
to configure for much else...
On Tue, Feb 2, 2010 at 08:20, Ritesh Raj Sarraf <email address hidden> wrote:
> I think what we need here is a new module, something like exec_cmd.
>
> It definitely will not be a start/stop kind of thing.
>
Perhaps the start-stop-programs module can be extended to support in-line
commands to be executed on state changes, in addition to the service
start/stop support that is already there? I must say that the service
starting/stopping support is a bit complicated to configure, it's well
suited for starting/stopping services that have an init script, but not easy
to configure for much else...
Cheers,
Bart