Last active
May 25, 2024 06:20
-
-
Save Sharifur/32c16221234abe8c089f6e4e13cb0a36 to your computer and use it in GitHub Desktop.
configure supervisor in alma 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
[program:horizon] | |
process_name=%(program_name)s | |
command=php /home/path_to_the_script/artisan horizon | |
autostart=true | |
autorestart=true | |
user=root | |
redirect_stderr=true | |
stdout_logfile=/home/path_to_the_script/horizon.log | |
stopwaitsecs=3600 | |
reference https://docs.faveohelpdesk.com/docs/installation/providers/enterprise/alma-redis/ | |
#as image | |
https://i.ibb.co/hWtqwHS/image.png | |
#folder of supervisor config files | |
nano /etc/supervisord.d/ | |
#command to update supervisor after change anything | |
sudo supervisorctl reread | |
sudo supervisorctl update | |
sudo supervisorctl start horizon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment