Update startup commands for Horizon and Scheduler Worker services

This commit is contained in:
Andras Bacsai 2024-04-11 15:07:41 +02:00
parent d9d38a27ff
commit 8553fffffe
2 changed files with 8 additions and 2 deletions

View File

@ -1,2 +1,5 @@
#!/command/execlineb -P
su - webuser -c "php /var/www/html/artisan horizon"
foreground {
s6-sleep 5
su - webuser -c "php /var/www/html/artisan start:horizon"
}

View File

@ -1,2 +1,5 @@
#!/command/execlineb -P
su - webuser -c "php /var/www/html/artisan schedule:work"
foreground {
s6-sleep 5
su - webuser -c "php /var/www/html/artisan start:scheduler"
}