Fix: disable ExecPreStart check

- doesn't seem to be able to get the env vars on CentOS7
 - seems like a known problem
This commit is contained in:
till 2020-01-30 12:32:04 +01:00
parent 5b03bc5714
commit 92bc38b5f9
No known key found for this signature in database
GPG Key ID: B119050E2EBA1DC5
1 changed files with 1 additions and 1 deletions

View File

@ -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