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
感谢和问候, 萨沙