extends |
GenericSystemdService |
---|---|
implements |
Http, SystemdStatusReporting |
Methods | ||
---|---|---|
public
static
|
makeSubdomainPath(string $subdomain): string
|
# |
public
static
|
getServiceStatus(): ?array
|
# |
public
static
|
siteStoragePath(string $site): string
|
# |
public
static
|
configurationIsInactive(string $site, string $personality = ''): bool
|
# |
public
static
|
siteInactiveConfigurationPath(string $site, string $personality = ''): string
|
# |
public
static
|
siteConfigurationPath(string $site, string $personality = ''): string
|
# |
public
static
|
conflicts(string $domain, array|null $universe = null): array
|
# |
public
static
|
hashDomain(string $domain, int $generation = 0): string
|
# |
public
static
|
irregular(): bool
|
# |
public
static
|
reset(): bool
|
# |
public
static
|
activate(string $timespec = HTTPD_RELOAD_DELAY): bool
|
# |
public
static
|
buildConfig(string $timespec = HTTPD_RELOAD_DELAY, bool $activate = false): bool
|
# |
public
static
|
waitRebuild(): bool
|
# |
public
static
|
cancelRebuild(): bool
|
# |
public
static
|
reload(string|null $timespec = null): bool
|
# |
public
static
|
logPath(): string
|
# |
public
static
|
restart(string|null $timespec = null): bool
|
# |
public
static
|
test(): bool
|
# |
public
static
|
getReportedServiceStatus(): ?array
|
# |
Methods inherited from Opcenter\System\GenericSystemdService |
---|
async(), failed(), running(), state(), status(), unitInfo(), exists(), run(), daemonReload(), listAll(), listAllNg(), waitFor(), escapePath(), present() |
Constants | ||
---|---|---|
public
|
SERVICE = 'httpd'
|
# |
public
|
BATCH_KEY = 'apachecfg'
|
# |
public
|
HTTP_BUILD_CONFIG = '/etc/systemd/user/httpd.init buildconfig'
|
# |
public
|
SYSCONFIG_FILE = '/etc/sysconfig/httpd'
|
# |
public
|
HTTP_HOME = '/etc/httpd'
|
# |
public
|
CONFIG_PATH = self::HTTP_HOME . '/conf'
|
# |
public
|
DOMAIN_PATH = self::CONFIG_PATH . '/domains'
|
# |
public
|
HTTP_NOSSL_PORT = HTTPD_NOSSL_PORT
|
# |
public
|
HTTPD_SSL_PORT = HTTPD_SSL_PORT
|
# |
public
|
CONFLICT_MASK = '/^[0-9]{1,10}-site[0-9]{1,10}-[A-F0-9]{8}$/'
|
# |
Constants inherited from Opcenter\System\GenericSystemdService |
---|
|
Properties inherited from Opcenter\System\GenericSystemdService |
---|
$async |