\App\ServiceModule\ModelsDockerSupervisorManager

Tool for managing services (supervisord init daemon in a Docker container)

Summary

Methods
Properties
Constants
__construct()
start()
stop()
restart()
getStatus()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\App\ServiceModule\Models\CommandManager  commandManager, string|null  serviceName = null) : 

Constructor

Parameters

\App\ServiceModule\Models\CommandManager commandManager

Command manager

string|null serviceName

Service name

Returns

start()

start() : 

Starts the service

Returns

stop()

stop() : 

Stops the service

Returns

restart()

restart() : 

Restarts the service

Returns

getStatus()

getStatus() : 

Gets status of the service

Returns

Output from init daemon