admin 7 лет назад
Родитель
Сommit
a784af9a98
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      queue.sh
  2. 2 1
      update.sh

+ 1 - 1
queue.sh

@@ -3,7 +3,7 @@ ps -ef | grep queue:work | grep -v grep
 if [ $? -ne 0 ]
 then
     echo "start queue process successfully....."
-    nohup php artisan queue:work database --queue=default --timeout=60 --sleep=5 --tries=3 >> ./storage/logs/queue.log 2>&1 &
+    nohup php artisan queue:work database --queue=default --timeout=60 --sleep=5 --tries=3 >> ./queue.log 2>&1 &
 else
     echo "queue is running....."
 fi

+ 2 - 1
update.sh

@@ -6,4 +6,5 @@ php composer.phar update
 php composer.phar dumpautoload
 php artisan key:generate
 php artisan view:clear
-php artisan cache:clear
+php artisan cache:clear
+chown -R www:www storage