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

Don't work command "service uwsgi stop" after command "service uwsgi reload" #96

Closed
vaal- opened this issue Dec 22, 2012 · 4 comments
Closed

Comments

@vaal-
Copy link

vaal- commented Dec 22, 2012

Hi
version 1.4.3
ubuntu server 12.04
http://gist.github.com/4358203
only the default.ini (for simplicity, because the problem is with the other configs)

WTR

  1. service uwsgi start
  2. service uwsgi reload (or touch-reload if configured)
  3. service uwsgi stop

After the last command, uwsgi processes continue to run.
Maybe need a special configuration for reload?
Tnx!

@unbit
Copy link
Owner

unbit commented Dec 22, 2012

sorry, init.d scripts and the debian-style management are not part of the uWSGI project, you should try asking for help in the irc channel or the mailing-list, or move to a "blessed/supported" setup (like Emperor + upstart in Ubuntu)

@unbit unbit closed this as completed Dec 22, 2012
@vaal-
Copy link
Author

vaal- commented Dec 22, 2012

Wow! Thanks for the quick response!
Where can I read the details about "blessed/supported" setup (like Emperor + upstart in Ubuntu) ?

@unbit
Copy link
Owner

unbit commented Dec 22, 2012

Emperor: http://uwsgi-docs.readthedocs.org/en/latest/Emperor.html

for upstart just use a standard template (generally people tend to run it after network initialization) and add

path_to/uwsgi --emperor

as the command to run

@vaal-
Copy link
Author

vaal- commented Dec 22, 2012

tnx!

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

2 participants