Skip to content

Commit

Permalink
Fix: disable ExecPreStart check
Browse files Browse the repository at this point in the history
 - doesn't seem to be able to get the env vars on CentOS7
 - seems like a known problem
  • Loading branch information
till committed Jan 30, 2020
1 parent 5b03bc5 commit 92bc38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/minio.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 92bc38b

Please sign in to comment.