Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SiteProcessManager

Hierarchy

  • SiteProcessManager

Index

Methods

attachProcess

getSiteStatus

  • getSiteStatus(site: Site): Local.SiteStatus

getSiteStatuses

  • getSiteStatuses(): {}
  • Returns {}

    • [siteId: string]: Local.SiteStatus

hasRunningProcess

  • hasRunningProcess(site: Site, name?: string): boolean
  • Parameters

    • site: Site
    • Optional name: string

    Returns boolean

restart

  • restart(site: Site): Promise<void>

start

  • start(site: Site, updateStatus?: boolean, compileConfigs?: boolean): Promise<void>
  • Parameters

    • site: Site
    • Optional updateStatus: boolean
    • Optional compileConfigs: boolean

    Returns Promise<void>

stop

  • stop(site: Site, __namedParameters?: { dumpDatabase: boolean; updateStatus: boolean }): Promise<void>
  • Parameters

    • site: Site
    • Optional __namedParameters: { dumpDatabase: boolean; updateStatus: boolean }
      • dumpDatabase: boolean
      • updateStatus: boolean

    Returns Promise<void>

stopAllSites

  • stopAllSites(): Promise<void>

Generated using TypeDoc