I believe you meant to do:
uwsgicmd="${uwsgicmd} --daemonize --logto=$HOME/logs/$(basename $DIR).log";
--daemonize doesn't receive a param, maybe a typo?
However I'd suggest moving the logging flags to your .ini file and only
leave --daemonize in the command call.
Cheers
On Mon, Apr 20, 2020
Just to fill in a bit more details I start emperor under a screen
process. Basically
screen -m uwsgi --emperor ~/vassals
I added the line to whanganuicafesandbars.co.nz.ini as follows:
logto = /home/webquest/logos/whanganuicafesandbars.co.nz.uwsgi.log
I used logto but unfortunately but it doe
Think I solved my own problem.
It was due to not having run collectstatic within Django.
On Tue, 2020-04-21 at 10:04 +1200, Glenn Reed wrote:
> Just to fill in a bit more details I start emperor under a screen
> process. Basically
>
> screen -m uwsgi --emperor ~/vassals
>
> I added the line to