Skip to content

Commit

Permalink
Fix service ExecStart (atosatto#2)
Browse files Browse the repository at this point in the history
Pass the `$MINIO_ARGS` var to ExecStart
  • Loading branch information
brpauwels authored Dec 1, 2021
1 parent ac43121 commit 2ddc5d2
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 @@ -22,7 +22,7 @@ PermissionsStartOnly=true
EnvironmentFile={{ minio_server_envfile }}
ExecStartPre=/bin/bash -c "[ -n \"${MINIO_ARGS}\" ] || echo \"Variable MINIO_ARGS not set in {{ minio_server_envfile }}\""

ExecStart={{ minio_server_bin }} server $MINIO_OPTS
ExecStart={{ minio_server_bin }} server $MINIO_OPTS $MINIO_ARGS

# Let systemd always restart this service, in limits defined by StartLimitIntervalSec and StartLimitBurst.
Restart=always
Expand Down

0 comments on commit 2ddc5d2

Please sign in to comment.