Switch to systemd

This commit is contained in:
idanoo 2022-10-01 20:06:47 +13:00
parent b3fa408964
commit b7437dbf52
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -15,7 +15,7 @@ su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan route:cache"
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan migrate --force"
# Make sure we restart workers on new code too
sudo supervisorctl restart horizon
sudo systemctl restart horizon.service
#su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan horizon:purge"
#su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan storage:link"