Paul Lecuq
1b59cdacdd
- bl module updated - borg state updated - config state updated - netbox state updated - nginx state updated - misc updates
18 lines
574 B
Django/Jinja
18 lines
574 B
Django/Jinja
{%- from "influxdb/map.jinja" import influxdb with context -%}
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
[Unit]
|
|
Description=InfluxDB is an open-source, distributed, time series database
|
|
Documentation=https://docs.influxdata.com/influxdb/
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
User={{ influxdb.user.name }}
|
|
Group={{ influxdb.group.name }}
|
|
LimitNOFILE=65536
|
|
ExecStart={{ influxdb.install_dir }}/influxdb/influxd -config /etc/influxdb/influxdb.conf
|
|
KillMode=control-group
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=influxd.service |