# If you modify this, please also make sure to edit init.sh [Unit] Description=InfluxDB is an open-source, distributed, time series database Documentation=https://influxdb.com/docs/ After=network.target [Service] User=influxdb Group=influxdb LimitNOFILE=65536 Environment='STDOUT=/dev/null' Environment='STDERR=/var/log/influxdb/influxd.log' EnvironmentFile=-/etc/default/influxdb ExecStart=/bin/sh -c "/usr/bin/influxd -config /etc/influxdb/influxdb.conf ${INFLUXD_OPTS} >> ${STDOUT} 2>> ${STDERR}" KillMode=control-group Restart=on-failure [Install] WantedBy=multi-user.target Alias=influxd.service