2015-05-02 12:25:22 +00:00
|
|
|
# If you modify this, please also make sure to edit init.sh
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=InfluxDB is an open-source, distributed, time series database
|
2016-02-04 02:35:55 +00:00
|
|
|
Documentation=https://docs.influxdata.com/influxdb/
|
2016-04-30 17:36:40 +00:00
|
|
|
After=network-online.target
|
2015-05-02 12:25:22 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=influxdb
|
|
|
|
Group=influxdb
|
|
|
|
LimitNOFILE=65536
|
|
|
|
EnvironmentFile=-/etc/default/influxdb
|
2017-10-03 18:15:22 +00:00
|
|
|
ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS
|
2015-11-06 16:52:04 +00:00
|
|
|
KillMode=control-group
|
2015-05-02 12:25:22 +00:00
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-09-09 00:14:03 +00:00
|
|
|
Alias=influxd.service
|