Skip to content

Commit 8cf13b7

Browse files
committed
Added possibility to use supervisorctl (as root)
1 parent 4234194 commit 8cf13b7

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ PHP Docker Boilerplate Changelog
1212
- Added blackfire.io
1313
- Added possiblity to disable Xdebug and Blackfire
1414
- Moved php.ini to etc/php/development.ini and etc/php/production.ini
15+
- Added possibility to use supervisorctl (as root)
1516
- Improved provisioning
1617
- Refactored layout
1718
- Added prebuilt Docker images

docker/main/centos/conf/supervisord.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ nodaemon=true
44
[unix_http_server]
55
file = /var/tmp/supervisor.sock
66

7+
[rpcinterface:supervisor]
8+
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
9+
710
[program:php-fpm]
811
command = /sbin/php-fpm
912
autostart = true

docker/main/ubuntu/conf/supervisord.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
[supervisord]
22
nodaemon=true
33

4+
[unix_http_server]
5+
file = /var/run/supervisor.sock
6+
7+
[rpcinterface:supervisor]
8+
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
9+
410
[program:php-fpm]
511
command = /usr/sbin/php5-fpm
612
autostart = true

0 commit comments

Comments
 (0)