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
|
2021-08-03 15:22:11 +00:00
|
|
|
ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh
|
2015-11-06 16:52:04 +00:00
|
|
|
KillMode=control-group
|
2015-05-02 12:25:22 +00:00
|
|
|
Restart=on-failure
|
2021-07-20 18:08:03 +00:00
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/lib/influxdb/influxd.pid
|
2015-05-02 12:25:22 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-09-09 00:14:03 +00:00
|
|
|
Alias=influxd.service
|