Skip to content

Commit

Permalink
refactor(alertmanager): Start the daemon using the account made by `_…
Browse files Browse the repository at this point in the history
…common`

Signed-off-by: umatare5 <[email protected]>
  • Loading branch information
umatare5 committed Dec 10, 2024
1 parent e095d5c commit ea8774d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/alertmanager/templates/alertmanager.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ PIDFile=/run/alertmanager.pid
{% else %}
PIDFile=/var/run/alertmanager.pid
{% endif %}
User=alertmanager
Group=alertmanager
User={{ alertmanager_system_user }}
Group={{ alertmanager_system_group }}
ExecReload=/bin/kill -HUP $MAINPID
ExecStart={{ alertmanager_binary_install_dir }}/alertmanager \
{% for option, value in (alertmanager_cluster.items() | sort) %}
Expand Down

0 comments on commit ea8774d

Please sign in to comment.