service

cmd/service

Manage init services

Overview

service manages init services.

Main subcommands:

  • list and status for inspection.
  • start, stop, restart for control.

Example usage:

service list
service status display
service restart login
service start uevent display login

Usage

  • service <subcommand> [args]

Subcommands

NameDescription
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

CodeMeaning
0 Success
1 Runtime/command error
2 Invalid flags/usage