-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update systemd service file #16
Conversation
templates/minio.service.j2
Outdated
@@ -33,5 +39,9 @@ SendSIGKILL=no | |||
|
|||
SuccessExitStatus=0 | |||
|
|||
{% if minio_server_addr.split(':')[1] < 1024 %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will break with v6 😁 [::1]:80
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be fixed now 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add some explicit tests for this?
@SuperQ I've added some tests. Unfortunatelly I don't see a way to test ipv6. |
Can you add an assert for the service file |
Seems redundant, since service won't start on port 80 without it, but I'll add it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ansible_managed
to every template