ansible/roles/process_exporter/templates/process-exporter.service.j2

18 lines
393 B
Plaintext
Raw Normal View History

{{ ansible_managed | comment }}
[Unit]
Description=process-exporter
Wants=network-online.target
After=network-online.target
After=alertmanager.service
[Service]
Type=simple
User={{ process_exporter_user }}
Group={{ process_exporter_group }}
WorkingDirectory={{ process_exporter_etc_path }}
ExecStart={{ process_exporter_bin_path }}/process-exporter \
[Install]
WantedBy=multi-user.target