set_service_startup
Sets whether a systemd service starts automatically, manually on demand, or stays disabled; it changes startup only and does not start or stop a running service.
Instructions
Sets how a systemd service starts: automatic (enabled), manual (disabled: started on demand) or disabled (masked: cannot be started); automatic_delayed does not exist on Linux. It changes the startup only: a running service keeps running, and control_service starts or stops it; get_service shows the current setting. Unless Anabolic runs as root, pkexec asks for an administrator's password on the desktop, and the call fails when that dialog is dismissed or cannot be shown.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"startup": "<startup>"
},
"name": "set_service_startup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The service's name, as list_services gives it. | |
| startup | Yes | automatic, automatic_delayed, manual or disabled. |