JBoss-cookbook に問題があります。サービスは /etc/init.d に正しく作成され、サービスの開始/停止/再起動 jboss を使用して開始/停止/再起動できますが、Chef が私のデプロイを完了した後に開始されません。インフラストラクチャー。
これは、サービスを作成するクックブックの一部です。
template "jboss" do
path "/etc/init.d/jboss"
source "init_deb.erb"
owner "root"
group "root"
mode "0755"
end
service "jboss" do
supports :restart => true, :start => true, :stop => true
action [ :enable, :start ]
end
execute 'wait for JBoss' do
command 'sleep 5'
action :nothing
end
よろしくお願いします、サシャ