service
cmd/service
Manage init services
Overview
service manages init services.
Main subcommands:
listandstatusfor inspection.start,stop,restartfor control.
Example usage:
service list
service status display
service restart login
service start uevent display login
Usage
service <subcommand> [args]
Subcommands
| Name | Description |
|---|---|
list |
List all services |
status |
Show status for one service |
start |
Start one or more services |
stop |
Stop one or more services |
restart |
Restart one or more services |
Exit Codes
| Code | Meaning |
|---|---|
0 |
Success |
1 |
Runtime/command error |
2 |
Invalid flags/usage |