Re-add starting/stopping all services
Jaymon opened this issue · comments
I removed being able to start and stop all configured services from uwsgi and daemon, it would be nice to put those back in at some point
This was in the uwsgi default recipe:
# TODO -- March 2020, this was removed when systemd support was added, hopefully it can
# be added back in the future
# global script that will start/stop/restart all servers at once
# service name do
# service_name name
# provider Chef::Provider::Service::Upstart
# action :nothing
# supports :status => true, :start => true, :stop => true, :restart => true
# end
#
# template ::File.join("", "etc", "init", "#{name}.conf") do
# source "servers.conf.erb"
# mode "0644"
# variables({"server_names" => n['servers'].keys})
# notifies :start, "service[#{name}]", :delayed
# end