paulbsd-salt/states/influxdb/templates/influxdb.service.j2

19 lines
575 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
{%- from "influxdb/map.jinja" import influxdb with context -%}
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
2020-07-10 00:58:55 +02:00
[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
2023-03-11 10:08:26 +01:00
Alias=influxd.service