#!/bin/sh

# Change to the project directory
cd ~/repositories/uat-shf-memo

# Set environment variables if needed
export QUEUE_CONNECTION=database
export QUEUE_DRIVER=database

# Start the queue worker
/usr/local/bin/ea-php74 artisan queue:restart >> ~/repositories/uat-shf-memo/storage/logs/queue-restart.log 2>&1