jasperla / openbsd-wip

OpenBSD work in progress ports
http://www.openbsd.org/
267 stars 88 forks source link

update uwsgi #131

Closed tuftedocelot closed 4 years ago

tuftedocelot commented 4 years ago

I've attempted an update for uwsgi to bring it up to date, add an rc file, and implied _uwsgi user, but infrastructure/db/user.list doesn't exist here.

I've been testing it with the emperor/vassals mode and it seems to work file. Example daemon_flags: --daemonize /var/log/uwsgi.log --master --emperor /etc/uwsgi/vassals. Since the configuration is really an exercise left to the reader, I didn't want to get too fancy for now with the rc file. For instance, rcctl reload is redundant with emperor/vassals because if a config file is changed, the application automatically reloads.

Thoughts?