ansible/roles/karma/templates/karma.service.j2
2022-08-30 07:46:29 -05:00

19 lines
392 B
Django/Jinja

{{ ansible_managed | comment }}
[Unit]
Description=Karma Alertmanager dashboard
Wants=network-online.target
After=network-online.target
After=alertmanager.service
[Service]
Type=simple
User={{ karma_user }}
Group={{ karma_group }}
WorkingDirectory={{ karma_etc_path }}
ExecStart={{ karma_bin_path }}/karma \
--config.file={{ karma_config_path }}
[Install]
WantedBy=multi-user.target