Giter VIP home page Giter VIP logo

influxdb_raspberry_pi's Introduction

influxdb_raspberry_pi

Workaround for starting influxdb on a Raspberry Pi

The last few updates to influxdb have had a deliterious effect on operations on my Raspberry Pi 3B. Two things have determined this workaround:

  1. The provided startup system is complex with apparent interactions between influxdb.service and init.sh.
  2. Just running influxd on the command line results in the database working as expected.

I don't doubt that this complexity is useful in some installations, but is not necessary in mine. Using systemd to start a simple daemon will suffice. Below is the influxdb.service file I'm using to work around the issue. YMMV.

Some original lines are commented out, some of those are replaced by different versions.

# 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://docs.influxdata.com/influxdb/
After=network-online.target

[Service]
User=influxdb
Group=influxdb
#LimitNOFILE=65536
EnvironmentFile=-/etc/default/influxdb
#ExecStart=/usr/lib/influxdb/scripts/influxd-systemd-start.sh
ExecStart=/usr/bin/influxd
#KillMode=control-group
Restart=on-failure
#Type=forking
Type=simple
#PIDFile=/var/lib/influxdb/influxd.pid

[Install]
WantedBy=multi-user.target
Alias=influxd.service

influxdb_raspberry_pi's People

Contributors

pa28 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.