admin管理员组

文章数量:1130349

Usage: brew services subcommand:

Manage background services with macOS’ launchctl(1) daemon manager

 --all                           run subcommand on all services.

[sudo] brew services list

List all running services for the current user (or root).

[sudo] brew services run (formula|–all)

Run the service formula without registering to launch at login (or boot).

[sudo] brew services start (formula|–all)

Start the service formula immediately and register it to launch at login (or
boot).

[sudo] brew services stop (formula|–all)

Stop the service formula immediately and unregister it from launching at login
(or boot).

[sudo] brew services restart (formula|–all)

Stop (if necessary) and start the service formula immediately and register it
to launch at login (or boot).

[sudo] brew services cleanup

Remove all unused services.

If sudo is passed, operate on /Library/LaunchDaemons (started at boot).
Otherwise, operate on ~/Library/LaunchAgents (started at login).

Usage: brew services subcommand:

Manage background services with macOS’ launchctl(1) daemon manager

 --all                           run subcommand on all services.

[sudo] brew services list

List all running services for the current user (or root).

[sudo] brew services run (formula|–all)

Run the service formula without registering to launch at login (or boot).

[sudo] brew services start (formula|–all)

Start the service formula immediately and register it to launch at login (or
boot).

[sudo] brew services stop (formula|–all)

Stop the service formula immediately and unregister it from launching at login
(or boot).

[sudo] brew services restart (formula|–all)

Stop (if necessary) and start the service formula immediately and register it
to launch at login (or boot).

[sudo] brew services cleanup

Remove all unused services.

If sudo is passed, operate on /Library/LaunchDaemons (started at boot).
Otherwise, operate on ~/Library/LaunchAgents (started at login).

本文标签: 命令HomebrewService