From 92bc38b5f96eaa75f7282d7b4a0ee0652365af36 Mon Sep 17 00:00:00 2001 From: till Date: Thu, 30 Jan 2020 12:32:04 +0100 Subject: [PATCH] Fix: disable ExecPreStart check - doesn't seem to be able to get the env vars on CentOS7 - seems like a known problem --- templates/minio.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/minio.service.j2 b/templates/minio.service.j2 index 33fb255..f3198db 100644 --- a/templates/minio.service.j2 +++ b/templates/minio.service.j2 @@ -20,7 +20,7 @@ Group={{ minio_group }} PermissionsStartOnly=true EnvironmentFile={{ minio_server_envfile }} -ExecStartPre=/bin/bash -c "[ -n \"${MINIO_VOLUMES}\" ] || echo \"Variable MINIO_VOLUMES not set in {{ minio_server_envfile }}\"" +#ExecStartPre=/bin/bash -c "[ -n \"${MINIO_VOLUMES}\" ] || echo \"Variable MINIO_VOLUMES not set in {{ minio_server_envfile }}\"" ExecStart={{ minio_server_bin }} server $MINIO_OPTS $MINIO_VOLUMES