
Foreman & Katelloのサーバ環境の起動と停止を行います。インストール後は、Foreman & Katelloは、自動でサービスが起動します。
記事の目次
Foreman & Katelloのサービスのリストを表示する!
Foreman & Katelloのサービスのリストを表示します。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # foreman-maintain service list Running Service List ================================================================================ List applicable services: dynflow-sidekiq@.service indirect foreman-proxy.service enabled foreman.service enabled httpd.service enabled postgresql.service enabled pulpcore-api.service enabled pulpcore-content.service enabled pulpcore-worker@.service indirect redis.service enabled tomcat.service enabled All services listed [OK] -------------------------------------------------------------------------------- |
Foreman & Katelloのサービスの起動状態を表示する!
Foreman & Katelloのサービスの起動状態を表示します。「All services are running」で、「[OK]」が表示されていればすべてのサービスが問題なく起動しています。
1 2 3 4 | # foreman-maintain service status ... \ All services are running [OK] -------------------------------------------------------------------------------- |
Foreman & Katelloのサービスを停止する!
以下のコマンドで、Foreman & Katelloのサービスを停止します。
1 | # foreman-maintain service stop |
Foreman & Katelloのサービスを起動する!
以下のコマンドで、Foreman & Katelloのサービスを停止します。
1 | # foreman-maintain service start |
Foreman & Katelloのサービスを再起動する!
以下のコマンドで、Foreman & Katelloのサービスを停止します。
1 | # foreman-maintain service restart |
おわりに
Foreman & Katelloの基本的な操作として、起動と停止の方法をまとめました。
参考情報
関連記事
関連書籍(Amazon)