Last active
July 22, 2020 13:32
-
-
Save MostafaNorzade/8b088aefc3e1a0ae78a5440085fb60ee to your computer and use it in GitHub Desktop.
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: pip install supervisor | |
configure: | |
mkdir -p /etc/supervisord/conf.d | |
echo_supervisord_conf > /etc/supervisord/supervisord.conf | |
echo "files = conf.d/*.conf" >> /etc/supervisord/supervisord.conf | |
setup as service: wget supervisord.service -O /usr/lib/systemd/system/supervisord.service | |
start service systemctl start supervisord | |
view service status: systemctl status supervisord | |
auto start service on system startup: systemctl enable supervisord | |
https://laravel-news.com/how-to-run-workers-in-production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment