-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
prometheus: harden systemd service #415
Conversation
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.
🙋
@@ -16,6 +16,19 @@ ExecStart=/usr/local/bin/prometheus \ | |||
ExecReload=/bin/kill -HUP $MAINPID | |||
KillMode=process |
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.
is there any good reason for not setting the KillMode
to control-group
?
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.
I'm not sure about it. I didn't touch this options since I don't know yet which value would suit best.
FWIW, i have forwarded this to the debian package as well https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950759 |
prometheus: harden systemd service
prometheus: harden systemd service
those hardening options are live in the Arch package since a long time. I use them as well and they work fine. Arch source: https://git.archlinux.org/svntogit/packages.git/tree/trunk/prometheus.service?h=packages/prometheus