Browse Source

Merge branch 'develop'

wzq 5 years ago
parent
commit
8f26bb9fe0
2 changed files with 3 additions and 2 deletions
  1. 2 2
      .rocketeer/hooks.php
  2. 1 0
      public/index.php

+ 2 - 2
.rocketeer/hooks.php

@@ -26,10 +26,10 @@ return [
         'setup'   => [],
         'deploy'  => [
             'composer dumpautoload',
-            'php artisan route:clear',
             'chmod -R 777 bootstrap',
             'chmod -R 777 storage',
-            'chmod -R 777 public'
+            'chmod -R 777 public',
+            'service php-fpm reload'
         ],
         'cleanup' => [],
     ],

+ 1 - 0
public/index.php

@@ -11,6 +11,7 @@
 |
 */
 
+ini_set('molten.service_name', 'shop-manage');
 $app = require __DIR__.'/../bootstrap/app.php';
 
 /*