Skip to content
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

nixos/prometheus: Harden systemd service #162784

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Commits on Jul 29, 2022

  1. nixos/prometheus: Harden systemd service

    For reference:
    
    - ./nixos/modules/services/monitoring/grafana.nix
    - https://salsa.debian.org/go-team/packages/prometheus/-/blob/80192f1fe3e4b2b3a1816b4d2c4a628809acccbe/debian/service
    - https://github.com/archlinux/svntogit-packages/blob/5894b9b77a63f8d1aad434e190217ba5f4ba40d4/trunk/prometheus.service
    
    I have omitted the Limit* as they do not appear to be commonly used in
    NixOS, and, per `man systemd.exec`, are less preferred vs. cgroup
    limits.
    amarshall committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    26ca4d1 View commit details
    Browse the repository at this point in the history