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

20 lines
496 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]
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