[uWSGI] Init script for Debian?
codecomplete at free.fr
Wed Apr 23 16:25:45 CEST 2014
Before asking, I checked the archives with either "debian upstrat" or
"debian init" but didn't find much:
What is the right way to write an Upstart script to start/stop uwsgi
on a Debian host, where the settings should be in an INI file instead?
Here's the sample from the online documentation:
# simple uWSGI script to start uwsgi as stand-alone web server
description "uwsgi tiny instance"
start on runlevel 
stop on runlevel 
#Where to put myapp.ini?
exec uwsgi myapp.ini
1. Is it indeed possible to outsource settings in an INI file?
2. If yes, where should the INI file be located for Upstart to find
More information about the uWSGI