Skip to content

Commit 581582e

Browse files
committed
Tweak
1 parent 6d507b8 commit 581582e

File tree

9 files changed

+72
-45
lines changed

9 files changed

+72
-45
lines changed

8.1-nginx-prod/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.1-nginx/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.2-nginx-prod/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.2-nginx/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.3-nginx-prod/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.3-nginx/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.4-nginx-prod/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

8.4-nginx/supervisor.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ logfile_maxbytes=0
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

template/supervisor-conf.blade.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@
44
pidfile=/run/supervisord.pid
55
nodaemon=true
66

7-
[program:nginx]
8-
depends_on = php-fpm
9-
command = nginx -g "daemon off;"
7+
[program:php-fpm]
8+
command = php-fpm
9+
priority = 10
1010
autorestart = true
1111
stopasgroup = true
12+
killasgroup = true
1213
stderr_logfile = /dev/stderr
1314
stdout_logfile = /dev/stdout
1415
stderr_logfile_maxbytes = 0
1516
stdout_logfile_maxbytes = 0
1617

17-
[program:php-fpm]
18-
command = php-fpm
18+
[program:nginx]
19+
command = nginx -g "daemon off;"
20+
priority = 20
1921
autorestart = true
2022
stopasgroup = true
23+
killasgroup = true
2124
stderr_logfile = /dev/stderr
2225
stdout_logfile = /dev/stdout
2326
stderr_logfile_maxbytes = 0

0 commit comments

Comments
 (0)