-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format
supervisord.conf
(INI) files manually
※ INI file doesn't have standardization(?) and any formatter
- Loading branch information
Showing
2 changed files
with
45 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
; http://supervisord.org/configuration.html | ||
|
||
[supervisord] | ||
nodaemon=true | ||
user=%(ENV_USER)s | ||
logfile=%(ENV_WORK_DIR)s/storage/logs/supervisord.log | ||
pidfile=/tmp/supervisord.pid | ||
nodaemon = true | ||
user = %(ENV_USER)s | ||
logfile = %(ENV_WORK_DIR)s/storage/logs/supervisord.log | ||
pidfile = /tmp/supervisord.pid | ||
|
||
; As seen in the PHP Docker image, `php-fpm` (`CMD`) will be run | ||
; by being read by `ENTRYPOINT` (`.../bin/docker-php-entrypoint`) as its arg. | ||
; Since my `Dockerfile` adds `ENTRYPOINT` and overrides the default, run `php-fpm` here. | ||
[program:php-fpm] | ||
command=php-fpm | ||
autostart=true | ||
autorestart=true | ||
stopasgroup=true | ||
killasgroup=true | ||
user=%(ENV_USER)s | ||
redirect_stderr=true | ||
stdout_logfile=%(ENV_WORK_DIR)s/storage/logs/php-fpm.log | ||
stopwaitsecs=3600 | ||
command = php-fpm | ||
autostart = true | ||
autorestart = true | ||
stopasgroup = true | ||
killasgroup = true | ||
user = %(ENV_USER)s | ||
redirect_stderr = true | ||
stdout_logfile = %(ENV_WORK_DIR)s/storage/logs/php-fpm.log | ||
stopwaitsecs = 3600 |