\App\GatewayModule\ModelsUnattendedUpgradesManager

Unattended upgrades manager

Summary

Methods
Properties
Constants
__construct()
disableService()
enableService()
getServiceStatus()
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\GatewayModule\Models\SystemDManager  serviceManager) : 

Constructor

Parameters

\App\GatewayModule\Models\SystemDManager serviceManager

SystemD service manager

Returns

disableService()

disableService() : 

Disables and stops the unattended upgrades service

Returns

enableService()

enableService() : 

Enables and starts the unattended upgrades service

Returns

getServiceStatus()

getServiceStatus() : \App\GatewayModule\Models\App\ServiceModule\Enums\ServiceStates

Returns the unattended upgrades service status

Returns

\App\GatewayModule\Models\App\ServiceModule\Enums\ServiceStates