Manage service
How to start, stop, or restart a service or change its start type with the Manage service action, and when the step fails.
Manage service controls a system service on the device: start, stop, restart, or change its start type. The device must be online.
Configuration fields
You can find the service name in the device's Services tab, next to the display name.
Platform support
Outputs
Result behaviour
You can safely repeat Start and Stop. If the service is already running, Start succeeds and leaves it alone. On Windows, Stop on a service that is already stopped also counts as success. On Windows and macOS, Stop even succeeds for a service that does not exist on the device, so a typo in the name goes unnoticed.
Restart stops a running service and starts it again. A stopped service is simply started. The agent waits up to 25 seconds for a service to start or stop. If it takes longer, the step fails or times out.
Platform details:
- Linux: If a unit fails to start, the agent enables it and tries once more. If that works, the unit now also starts at boot.
- macOS: Start loads a launch daemon that is not loaded yet from
/Library/LaunchDaemons/<name>.plist.
Stopping or restarting a service interrupts every application and user that depends on it. With Disabled, the service does not start until you change the start type again. Test on a single device first, and limit Windows-only steps with a condition.
See also: Create an automation · Monitor Device Performance Live · Service Status
Was this helpful?
More in Actions
Send notificationAsk userDisable user accountCreate user accountStill need help? Ask the team