Skip to content

Commit dccdce3

Browse files
authored
Merge pull request #21 from kool-dev/fix_permission
Fix Permission | Depends
2 parents 95264d5 + db9ae1e commit dccdce3

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

8.0-swoole-nginx-prod/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole
9+
command = su-exec kool php artisan octane:start --server=swoole
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.0-swoole-nginx/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole --watch
9+
command = su-exec kool php artisan octane:start --server=swoole --watch
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.1-swoole-nginx-prod/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole
9+
command = su-exec kool php artisan octane:start --server=swoole
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.1-swoole-nginx/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole --watch
9+
command = su-exec kool php artisan octane:start --server=swoole --watch
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.2-swoole-nginx-prod/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole
9+
command = su-exec kool php artisan octane:start --server=swoole
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.2-swoole-nginx/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole --watch
9+
command = su-exec kool php artisan octane:start --server=swoole --watch
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.3-swoole-nginx-prod/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole
9+
command = su-exec kool php artisan octane:start --server=swoole
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

8.3-swoole-nginx/supervisor.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole --watch
9+
command = su-exec kool php artisan octane:start --server=swoole --watch
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

template/supervisor-conf.blade.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[program:nginx]
2-
depends_on = php-fpm
2+
depends_on = octane
33
command = nginx -g "daemon off;"
44
stopasgroup = true
55
stderr_logfile = /dev/stderr
66
stdout_logfile = /dev/stdout
77

88
[program:octane]
9-
command = php artisan octane:start --server=swoole{!! $prod ? '' : ' --watch' !!}
9+
command = su-exec kool php artisan octane:start --server=swoole{!! $prod ? '' : ' --watch' !!}
1010
stopasgroup = true
1111
stderr_logfile = /dev/stderr
1212
stdout_logfile = /dev/stdout

0 commit comments

Comments
 (0)