Il giorno 10/lug/2012, alle ore 20:19, Anton Gorlov ha scritto: > I run some sites from init scripts at system startup. In config options i set > uid = someuser > gid = someuser > > but in env i see > > Effective UID: 1001 (someuser) > > Environment (test) > > DJANGO_SETTINGS_MODULE > settings > HOME > /root > LANG > en_US.UTF-8 > LANGUAGE > en_US:en > LOGNAME > root > MAIL > /var/mail/root > PATH > /sbin:/usr/sbin:/bin:/usr/bin > PWD > /root > SHELL > /bin/bash > SHLVL > 2 > TERM > xterm > TZ > Europe/Moscow > USER > root > UWSGI_DEB_CONFNAME > stalker > UWSGI_DEB_CONFNAMESPACE > app > UWSGI_ORIGINAL_PROC_NAME > /usr/bin/uwsgi > UWSGI_RELOADS > 0 > _ > /sbin/start-stop-daemon > > > can i set env to destination user env or reset current ? >
You can set environ variables with --env KEY=VALUE or unset them with --unenv KEY -- Roberto De Ioris http://unbit.it JID: [email protected] _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
