Methods
getSiteStatus
- getSiteStatus(site: Site): Local.SiteStatus
-
Parameters
Returns Local.SiteStatus
getSiteStatuses
-
Returns {}
-
[siteId: string]: Local.SiteStatus
hasRunningProcess
- hasRunningProcess(site: Site, name?: string): boolean
-
Parameters
Returns boolean
restart
- restart(site: Site): Promise<void>
-
Parameters
Returns Promise<void>
start
- start(site: Site, updateStatus?: boolean, compileConfigs?: boolean): Promise<void>
-
Parameters
-
-
Optional updateStatus: boolean
-
Optional compileConfigs: boolean
Returns Promise<void>
stop
- stop(site: Site, __namedParameters?: { dumpDatabase: boolean; updateStatus: boolean }): Promise<void>
-
Parameters
-
-
Optional __namedParameters: { dumpDatabase: boolean; updateStatus: boolean }
-
dumpDatabase: boolean
-
updateStatus: boolean
Returns Promise<void>
stopAllSites
- stopAllSites(): Promise<void>