These commands allow to list and manage rpm packages and repositories.
System service management.
Usage:
lmi service list [(--enabled | --disabled)]
lmi service show <service>
lmi service start <service>
lmi service stop <service>
lmi service enable <service>
lmi service disable <service>
lmi service restart [--try] <service>
lmi service reload <service>
lmi service reload-or-restart [--try] <service>
Commands:
- list
- Prints a list of services. Only enabled services are printed at default.
- show
- Show detailed information about service.
- start
- Starts a service.
- stop
- Stops the service.
- restart
- Restarts the service.
- reload
- Ask the service to reload its configuration.
reload-or-restart
Reload the service if it supports it. If not, restart it instead.
Options:
- --enabled
- List only enabled services.
- --disabled
- List only disabled services.
- --try
- Whether to abandon the operation if the service is not running.