Skip to content

Commit 771ef3a

Browse files
committed
Fixed supervisord log/pid file
1 parent 1e421ee commit 771ef3a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/main/centos/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ case "$1" in
1919
echo "${ETH0_IP} main main_1" > /data/dns/main.hosts
2020

2121
## Start services
22-
exec supervisord -c /opt/docker/conf/supervisord.conf
22+
cd /
23+
exec supervisord -c /opt/docker/conf/supervisord.conf --logfile /dev/null --pidfile /dev/null --user root
2324
;;
2425

2526
## Root shell

docker/main/ubuntu/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ case "$1" in
1919
echo "${ETH0_IP} main main_1" > /data/dns/main.hosts
2020

2121
## Start services
22-
exec supervisord -c /opt/docker/conf/supervisord.conf
22+
cd /
23+
exec supervisord -c /opt/docker/conf/supervisord.conf --logfile /dev/null --pidfile /dev/null --user root
2324
;;
2425

2526
## Root shell

0 commit comments

Comments
 (0)