Closed Jasemalsadi closed 6 years ago
@mnaberez any help :)
No shell is run when supervisord
changes to a user. Since no shell is run, features like .bash_profile
are not available. supervisord
calls setuid()
only. See Subprocess Environment for more information.
I have an issue when using environment variable defined in .bash_profile. When I run this command :
sudo supervisord -c /etc/supervisord.conf.
It always return :format string '%(ENV_nnsm3_name)s' for 'program:laravel-process-user-data-queue.user' contains names ('ENV_nnsm3_name') which cannot be expanded.
.1. supervisord.conf file:
2. .Bash_profile :
I am running in macOS High Sierra with Mamp pro with PHP 7.1 with supervisor 3.3.3
I saw most of the related issues, but nothing work