1.4. Directory Server インスタンスの起動および停止
1.4.1. コマンドラインを使用した Directory Server インスタンスの起動および停止
systemctl ユーティリティーを使用して、インスタンスを起動、停止、または再起動します。
- インスタンスを起動するには、以下のコマンドを実行します。
systemctl start dirsrv@instance_name
# systemctl start dirsrv@instance_name
Copy to Clipboard Copied! - インスタンスを停止するには、以下のコマンドを実行します。
systemctl stop dirsrv@instance_name
# systemctl stop dirsrv@instance_name
Copy to Clipboard Copied! - インスタンスを再起動するには、以下のコマンドを実行します。
systemctl restart dirsrv@instance_name
# systemctl restart dirsrv@instance_name
Copy to Clipboard Copied!
必要に応じて、システムの起動時に Directory Server インスタンスが自動的に起動するようにすることができます。
- 単一のインスタンスの場合:
systemctl enable dirsrv@instance_name
# systemctl enable dirsrv@instance_name
Copy to Clipboard Copied! - サーバー上のすべてのインスタンスの場合:
systemctl enable dirsrv.target
# systemctl enable dirsrv.target
Copy to Clipboard Copied!
詳細は、『Red Hat システム管理者』 ガイドのシステムサービスの管理 セクションを参照してください。