mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Use exec to replace bash with apache2 after environment is set up
Docker-DCO-1.1-Signed-off-by: Mike Naberezny <mike@naberezny.com> (github: mnaberez)
This commit is contained in:
parent
ffdc2d2657
commit
2ba2a8ae40
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ Let's see what is inside our ``supervisord.conf`` file.
|
|||
command=/usr/sbin/sshd -D
|
||||
|
||||
[program:apache2]
|
||||
command=/bin/bash -c "source /etc/apache2/envvars && /usr/sbin/apache2 -DFOREGROUND"
|
||||
command=/bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"
|
||||
|
||||
The ``supervisord.conf`` configuration file contains directives that configure
|
||||
Supervisor and the processes it manages. The first block ``[supervisord]``
|
||||
|
|
Loading…
Add table
Reference in a new issue