From e56eb0e3ab7b0ade504a8cfe67ae96bd778bd01e Mon Sep 17 00:00:00 2001 From: thelittlefireman Date: Fri, 28 Jul 2017 22:45:34 +0200 Subject: [PATCH] fix : file already exist on start and stop container --- supervisord.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisord.conf b/supervisord.conf index a4b185b..340e443 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -4,7 +4,7 @@ logfile=%(ENV_LOG_PATH)s/supervisord.log childlogdir=%(ENV_LOG_PATH)s [program:xvfb] -command=/usr/bin/Xvfb %(ENV_DISPLAY)s -screen %(ENV_SCREEN)s %(ENV_SCREEN_WIDTH)sx%(ENV_SCREEN_HEIGHT)sx%(ENV_SCREEN_DEPTH)s +command=rm -r /tmp/ && /usr/bin/Xvfb %(ENV_DISPLAY)s -screen %(ENV_SCREEN)s %(ENV_SCREEN_WIDTH)sx%(ENV_SCREEN_HEIGHT)sx%(ENV_SCREEN_DEPTH)s stdout_logfile=%(ENV_LOG_PATH)s/xvfb.stdout.log stderr_logfile=%(ENV_LOG_PATH)s/xvfb.stderr.log