forked from ISTI-ansible-roles/ansible-roles
19 lines
386 B
Django/Jinja
19 lines
386 B
Django/Jinja
[Unit]
|
|
Description=ElasticHQ - Monitoring and Management Web Application for ElasticSearch instances and clusters.
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ elastic_hq_home }}
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
Restart=on-failure
|
|
RemainAfterExit=yes
|
|
|
|
User={{ elastic_hq_user }}
|
|
Group={{ elastic_hq_user }}
|
|
|
|
ExecStart={{ elastic_hq_start_cmd }}
|
|
ExecStop=
|
|
|