IQRF PHP service manager

SystemdUnitFileState : string
in package

Enablement state of systemd unit file

Tags
see
https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-enabled%20UNIT%E2%80%A6

Table of Contents

Cases

Alias  = 'alias'
Bad  = 'bad'
Disabled  = 'disabled'
Enabled  = 'enabled'
EnabledRuntime  = 'enabled-runtime'
Generated  = 'generated'
Indirect  = 'indirect'
Linked  = 'linked'
LinkedRuntime  = 'linked-runtime'
Masked  = 'masked'
MaskedRuntime  = 'masked-runtime'
Static  = 'static'
Transient  = 'transient'

Methods

isEnabled()  : bool
Checks if the unit is enabled
isTogglable()  : bool
Checks if the unit can be enabled or disabled

Cases

Methods

isEnabled()

Checks if the unit is enabled

public isEnabled() : bool
Return values
bool —

Is the unit enabled?

isTogglable()

Checks if the unit can be enabled or disabled

public isTogglable() : bool
Return values
bool —

Can the unit be enabled or disabled?


        
On this page

Search results