20 lines
483 B
INI
20 lines
483 B
INI
# 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
|
|
EnvironmentFile=-/etc/default/influxdb
|
|
ExecStart=/opt/influxdb/influxd -config /etc/opt/influxdb/influxdb.conf $INFLUXD_OPTS
|
|
KillMode=process
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=influxd.service
|