Name

Service::Status — Get service status.

Synopsis

Import Service;
integer Service::Status ( string  name );

Parameters

string name

name of the service

Return Value

integer

init script exit status or -1 if it does not exist