prometheus-formula/prometheus/files/default/systemd.ini.jinja

23 lines
552 B
Plaintext
Raw Normal View History

2019-06-19 01:23:45 +02:00
#########################################################
# File managed by Salt. Changes risk being overwritten.
#########################################################
[Unit]
Description={{ desc }}
2019-06-20 02:36:58 +02:00
Wants=network-online.target
After=
2019-06-19 01:23:45 +02:00
Documentation=https://github.com/saltstack-formulas/prometheus-formula
[Service]
{% for var in env %}
Environment={{ var }}
{% endfor %}
2019-06-19 01:23:45 +02:00
User={{ user }}
Group={{ group }}
2019-06-20 02:36:58 +02:00
WorkingDirectory={{ workdir }}
2019-06-19 01:23:45 +02:00
ExecStart={{ start }}
ExecStop={{ stop }}
PIDFile=/var/run/{{ name }}.pid
[Install]
WantedBy=multi-user.target