# Twitch Monit

this is a simple wrapper around the `echoes/monit` community module.

It only has very limited functionality currently.

#### `twitch_monit::check`

Wrapper directly around `monit::check`, except it enforces some conventions

##### Parameters

`$cwd` directory app/command is run from, we cd into this dir before calling
`$pidfile` location of pidfile
`$uid`
`$gid            = undef`
`$command        = undef`
`$start_program  = undef`
`$stop_program   = undef`
`$check_interval = 40`
`$env            = 'PATH=$PATH:/usr/local/bin'`
