You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here are a couple of adjustments I made to the init script to get it working for my needs. Some of these are bugfixes, others may or may not be suitable for inclusion -- I'm just including them all here for consideration:
Added an -L switch to the find command, so that app config files could be symlinked into /etc/uwsgi
Output the instance name before each app status check, adds clarity to the output
Change --ini to --ini-paste for ini file use. I'm not a Python expert, all I know is that this was necessary to allow a Pyramid app to launch properly. Maybe this should be configurable?
Fixed the --pidfile arg passed to daemon -- the way that function parses args the equals sign didn't seem to work, have a look at it in /etc/init.d/functions.
The text was updated successfully, but these errors were encountered:
Thanks for this. I'm going to be updating this to use emperor mode (which didn't exist when I first wrote this init script) instead of manually managing instances, but the -L and --pidfile fixes are nice catches.
Here are a couple of adjustments I made to the init script to get it working for my needs. Some of these are bugfixes, others may or may not be suitable for inclusion -- I'm just including them all here for consideration:
Quick summary of what I did:
The text was updated successfully, but these errors were encountered: