diff --git a/templates/minio.service.j2 b/templates/minio.service.j2 index 924fb5b..87cf047 100644 --- a/templates/minio.service.j2 +++ b/templates/minio.service.j2 @@ -39,7 +39,7 @@ SendSIGKILL=no SuccessExitStatus=0 -{% if minio_server_addr.split(':')[1] < 1024 %} +{% if minio_server_addr.split(':')[-1] < 1024 %} AmbientCapabilities=CAP_NET_BIND_SERVICE {% endif %}