From b7437dbf5226110e99cae5e8f5f5c734fdf9ae7a Mon Sep 17 00:00:00 2001 From: idanoo Date: Sat, 1 Oct 2022 20:06:47 +1300 Subject: [PATCH] Switch to systemd --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 2bdcfcf..02557ff 100755 --- a/update.sh +++ b/update.sh @@ -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"