Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add starting/stopping all services #25

Open
Jaymon opened this issue Mar 20, 2020 · 1 comment
Open

Re-add starting/stopping all services #25

Jaymon opened this issue Mar 20, 2020 · 1 comment

Comments

@Jaymon
Copy link
Owner

Jaymon commented Mar 20, 2020

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

@Jaymon
Copy link
Owner Author

Jaymon commented Mar 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant