> the uwsgi package comes with a systemd service file uwsgi@.service > that runs a config file in /etc/uwsgi/, > and /etc/uwsgi/emperor.ini but that one runs with www-data/www-data. > > Me myself have a /etc/uwsgi/owncloud.ini file which I run as a different user. these are my config files now, changed to unix socket: https://gist.github.com/gdamjan/e98672fe86b7a11e0520 -- damjan