0
我的JBoss食譜有問題,服務在/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
感謝和問候, 薩沙