You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
The current output of the 'list' command just tells if the unit exists and is enabled, it doesn't tell if the service is running or not (whereas the output of 'status' is unreadable).
I suggest the following slight change to the list_services function:
The output then looks as follows (with systemctl), which is much more informative while remaining readable:
# katello-service list
UNIT LOAD ACTIVE SUB DESCRIPTION
foreman-proxy.service loaded inactive dead Foreman Proxy
foreman-tasks.service loaded inactive dead Foreman jobs daemon
httpd.service loaded active running The Apache HTTP Server
mongod.service loaded active running High-performance, schema-free document-oriented database
postgresql.service loaded active running PostgreSQL database server
pulp_celerybeat.service loaded active running Pulp's Celerybeat
pulp_resource_manager.service loaded active running Pulp Resource Manager
pulp_workers.service loaded active exited Pulp Celery Workers
qdrouterd.service loaded active running Qpid Dispatch router daemon
qpidd.service loaded active running An AMQP message broker daemon.
tomcat.service loaded active running Apache Tomcat Web Application Container
The text was updated successfully, but these errors were encountered:
@ericzolf would you like to open a PR with your proposed changes? We are happy to open a PR with the patch ourselves, however, this gives you an opportunity to author and own a change within the project!
The current output of the 'list' command just tells if the unit exists and is enabled, it doesn't tell if the service is running or not (whereas the output of 'status' is unreadable).
I suggest the following slight change to the
list_services
function:The output then looks as follows (with systemctl), which is much more informative while remaining readable:
The text was updated successfully, but these errors were encountered: