unix_service - generic UNIX service

Generic UNIX service check, by running service ... status.

service
Type:

string

Required:

true

the name of the service to check

state
Type:

string

Required:

false

Default:

running

the state of the service; either running (status command exits 0) or stopped (status command exits 1).