> Is it possible to include these options in the init script?
>
> <uwsgi>
> <socket>127.0.0.1:9006</socket>
> <pythonpath>/home/www-data/myapp/</pythonpath>
> <app mountpoint="/">
> <script>wsgihandler</script>
> </app>
> </uwsgi>
>
Yes, all of the options can be moved in config files.
<uwsgi>
<socket>127.0.0.1:9006</socket>
<pythonpath>/home/www-data/myapp/</pythonpath>
<app mountpoint="/">
<script>wsgihandler</script>
</app>
<spooler>directory</spooler>
<import>mytasks</import>
<master/>
...
</uwsgi>
--
Roberto De Ioris
http://unbit.it