API referenceSections

ServerService

ServerService object
  • name string required
  • display_name string required
  • group string required
    Allowed values: "web" "mail" "database" "cache" "app" "dns" "system" "zopanel"
  • orphan boolean required

    A ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of (ADR 0105)

  • protected boolean required
  • state string required
    Allowed values: "running" "stopped" "starting" "stopping" "paused"
  • start_type string required
    Allowed values: "auto" "delayed" "manual" "disabled"
  • pid integer optional
  • dependents array<string> optional
  • hold object optional
    • by string required
    • at string (date-time) required

Used by

GET/api/v1/tenants/{tid}/servers/{id}/servicesThe allow-listed Windows services of a server, their state and start type (ADR 0075); server.read
POST/api/v1/tenants/{tid}/servers/{id}/services/controlStart, stop, restart a service or set its start type; the panel's own services are refused; audited (ADR 0075)