pmg_service_control
Manage PMG services via start, stop, restart, or reload actions. Dry-run by default; set confirm=true to execute.
Instructions
MUTATION (MEDIUM): start, stop, restart, or reload a PMG service. Dry-run by default. confirm=True to execute. Needs PROXIMO_PMG_* config.
PMG 9.1 live-verified path via pmgsh ls: POST /nodes/{node}/services/{service}/{action}. service: e.g. 'postfix', 'pmgproxy', 'pmgdaemon', 'clamav', 'spamassassin'. action: start|stop|restart|reload.
WARNING: stop on postfix/pmgproxy/pmgdaemon interrupts mail delivery until manually restarted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| action | Yes | ||
| confirm | No | ||
| service | Yes | ||
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |