[uWSGI] Init script for Debian?
l.mierzwa at gmail.com
Wed Apr 23 16:57:30 CEST 2014
Generic init script is usually for people using emperor mode, you should
write custom init script if you gonna spawn single uWSGI instance just for
one your app.
If you wan to use emperor take a look at this init script from my repo:
Just remember that using "exit-on-reload = true" in application ini file is
recommended for upstart.
2014-04-23 16:25 GMT+02:00 Gilles <codecomplete at free.fr>:
> 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?
> Thank you.
> 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
> Thank you.
> uWSGI mailing list
> uWSGI at lists.unbit.it
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the uWSGI