{%- from "influxdb/map.jinja" import influxdb with context -%} [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