{"tool":"brew","tool_display":"Brew","intent":"restart-service","intent_display":"restart service","title":"Brew Command: restart service","command_string":"brew services restart <formula>","raw_command_string":"brew services restart {{formula}}","description":"Exact CLI syntax to restart service using Brew.","usage_scenario":null,"scenario_context":"Always ensure the service is running after restarting for smooth operations.","simulated_output":"==> Successfully started `{{formula}}` (label: {{formula}})  \n==> Successfully stopped `{{formula}}` (label: {{formula}})  \n==> Restarted `{{formula}}` (label: {{formula}})","how_to_steps":["Run: `brew services restart {{formula}}` to restart the specified service.","Use: `brew services list` to verify that the service status is now 'started'.","Check logs with: `tail -f /usr/local/var/log/{{formula}}.log` for real-time updates."],"inferred_category":"Package Management","canonical_url":"https://www.syntaxstandard.com/brew/restart-service"}