/
Confluence systemd の設定
Confluence systemd の設定
Linux で Confluence を systemd サービスとして登録し、自動起動するための設定を行います。
目次
1. /usr/lib/systemd/system/confluence.service ファイルを追加します。
# vi /usr/lib/systemd/system/confluence.service
2. confluence.service ファイルに以下のように内容を入力して、Confluence サービスを定義します。
[Unit] Description=Confluence Service After=network.target iptables.service firewalld.service [Service] Type=forking User=confluence LimitNOFILE=65536 LimitNPROC=65536 ExecStart=/opt/atlassian/confluence/bin/start-confluence.sh ExecStop=/opt/atlassian/confluence/bin/stop-confluence.sh [Install] WantedBy=multi-user.target
上記で定義された「confluence」ユーザーは、Confluence の実行に使用されるユーザーです。別のユーザーで Confluence を実行している場合は、これを変更してください。
3. サービスを有効化します。
# rm -f /etc/rc.d/init.d/confluence \ && systemctl daemon-reload \ && systemctl enable confluence \ && systemctl is-enabled confluence \ && systemctl list-unit-files --type=service | grep confluence
以下の内容が表示されたら、期待通りとなります。
Created symlink from /etc/systemd/system/multi-user.target.wants/confluence.service to /usr/lib/systemd/system/confluence.service. enabled confluence.service enabled
Related content
systemd の設定
More like this
Confluence Data Center 7.X のインストール (Linux, クラスター構成)
Confluence Data Center 7.X のインストール (Linux, クラスター構成)
More like this
Confluence Data Center 7.X のインストール (Linux, シングルノード構成)
Confluence Data Center 7.X のインストール (Linux, シングルノード構成)
More like this
PostgreSQL のインストールと DB (データベース) の作成 (RHEL 9)
PostgreSQL のインストールと DB (データベース) の作成 (RHEL 9)
Read with this
Confluence Server 情報収集のお願い
Confluence Server 情報収集のお願い
More like this
PostgreSQL のインストールと DB (データベース) の作成 (CentOS 7.x)
PostgreSQL のインストールと DB (データベース) の作成 (CentOS 7.x)
Read with this
リックソフト株式会社 は、日本でトップレベルのAtlassian Platinum Solution Partnerです。
大規模ユーザーへの対応実績が認められたEnterpriseの認定をうけ、高度なトレーニング要件をクリアし、小規模から大規模のお客様まで対応可能な実績を示したパートナー企業です。
Copyright © Ricksoft Co., Ltd. プライバシーポリシー お問い合わせ