influxDB in jail wont start as a service?

Status
Not open for further replies.

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
I'm trying to get influxdb to run in a jail so I can log all my sensors from Home-Assistant and make some nice graphs with grafana but have run into some problems.

I created a new jail called influxdb and followed the instructions here for freeBSD installs: https://docs.influxdata.com/influxdb/v1.1/introduction/installation/

Everything worked just fine until I ran the command sudo service influxd onestart and it seems to hang at the "logo"
42iZSO1.png


if I just run influxd command tough it starts as it should but as soon as I close the terminal it shuts down again!
 

Naesstrom

Contributor
Joined
Jul 10, 2012
Messages
108
Nope, was hoping to get some hints from here, are you having the same problem?

Skickat från min Nexus 6P via Tapatalk
 
D

dlavigne

Guest
Nope. If you do happen to figure it out, please post the solution.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
i have the same issue. i can't start it automatically

as an workaround :

#!/bin/sh

case "$1" in
start)
echo "InfluxD Starting!"
/usr/local/bin/influxd
;;
stop)
echo "InfluxD Stoping"
reboot
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac

exit 0

I intend to put this script under rc.d and call it from rc.conf
 
Last edited:
Status
Not open for further replies.
Top