移除 supervisord 的 npm program 區塊,修復正式機容器啟動權限錯誤
This commit is contained in:
@@ -13,15 +13,3 @@ stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
|
||||
[program:npm]
|
||||
command=/bin/sh -c "if [ \"${APP_ENV}\" = \"local\" ] || [ \"${APP_ENV}\" = \"testing\" ]; then exec /usr/bin/npm run dev; else sleep infinity; fi"
|
||||
user=%(ENV_SUPERVISOR_PHP_USER)s
|
||||
environment=LARAVEL_SAIL="1"
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stopasgroup=true
|
||||
killasgroup=true
|
||||
|
||||
Reference in New Issue
Block a user