I am running Ubuntu 18.04.1 LTS in a VM. Currently it is running Grafana, Telegraf, and Influxdb
It is all working and the monitoring is awesome, but I am having an issue when it reboots (forgive me as I am a noob and have been searching the internet and forums for 2 days on this)
When it boots and tries to grab influxdb.service it does not work. however, if I stop this and run sudo influxd in the terminal everything starts running perfectly.
I have been trying to figure out how to open a terminal and run this command automatically. I have added @reboot influxd in the root crontab and that didn’t work. I have also tried adding rc.local giving it +X permissions but that doesn’t seem to work either.
I’m sure this is super simple but if anyone can give me a hand that would be awesome.