15 lines
448 B
Django/Jinja
15 lines
448 B
Django/Jinja
# {{ ansible_managed }}
|
|
[Unit]
|
|
Description=The cerebro server manage your elasticsearch cluster
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ cerebro_user }}
|
|
Group={{ cerebro_group }}
|
|
ExecStart= {{ cerebro_bin_dir }}/release/bin/cerebro -Dconfig.file={{ cerebro_config_dir }}/cerebro.conf -Dlogback.configurationFile={{ cerebro_config_dir }}/logback.xml
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|