Created
October 29, 2018 16:10
-
-
Save thiagomarini/7341b676baf9f22f96a614f87d468835 to your computer and use it in GitHub Desktop.
How to install supervisor on Amazon Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install it as a yum package instead of throgh pip (will save you from lots of hassle) | |
# first get epel | |
sudo amazon-linux-extras install epel | |
# then install supervisor | |
sudo yum install supervisor |
how to start supervisor service after pip install supervisor? I did pip install but none of the supervisorctl commands are working.
Be sure you have activated your virtual environment venv
I'm running lamp on linux 2023, the instructions here are more complete, they focus on beanstalk but aside from file path it worked like a charm:
https://5paceman.dev/aws-elastic-beanstalk-supervisor/
on this commands:
sudo cp .platform/files/supervisor.conf /etc/supervisord.conf
sudo cp .platform/files/supervisord.service /lib/systemd/system/supervisord.service
i just made the files on the folder /home/ec2-user/files, instead of .platform.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how to start supervisor service after pip install supervisor? I did pip install but none of the supervisorctl commands are working.