disable() disable(?string $serviceName = null) : void Disables the service Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException
enable() enable(?string $serviceName = null) : void Enables the service Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException
isActive() isActive(?string $serviceName = null) : bool Checks if the service is active Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException Returns bool — Is service active?
isEnabled() isEnabled(?string $serviceName = null) : bool Checks if the service is enabled Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException Returns bool — Is service enabled?
start() start(?string $serviceName = null) : void Starts IQRF Gateway Daemon Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException
stop() stop(?string $serviceName = null) : void Stops the service Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException
restart() restart(?string $serviceName = null) : void Restarts the service Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException
getStatus() getStatus(?string $serviceName = null) : string Returns status of the service Parameters ?string $serviceName Throws \App\ServiceModule\Exceptions\UnsupportedInitSystemException Returns string — Service status