forked from matthewpennell/moon-mining-manager
-
Notifications
You must be signed in to change notification settings - Fork 10
Home
Christian Müller edited this page Feb 27, 2019
·
1 revision
Random bits of things to remember:
I changed the user in /etc/supervisor/conf.d/laravel-worker.conf
to ec2-user
, reason was permissions for the logs
sudo chown ec2-user:root /var/app/current/storage/worker.log
According to my notes I changed /etc/supervisord.conf
and added . /opt/elasticbeanstalk/support/envvars
- but I'm not sure anymore what exactly that one solved.
Env. vars were missing somewhere, but I could not figure out howto fix it, you fixed that somehow.
env variables was also a problem for the cronjob:
* * * * * . /opt/elasticbeanstalk/support/envvars; php /var/app/current/artisan schedule:run >> /dev/null 2>&1
and this sudo chmod 0775 /var/app/current/storage/logs