Hi, i’m working in freebsd with influxd 1.5. influxdb starts using influxd command, but how can i stop or restart the service.
If you installed InfluxDB using the installation instructions in the documentation, then it was installed on FreeBSD as a service.
You can refer to the FreeBSD documentation on managing services to better understand how they work. According to the documentation, services “can be controlled with the start
, stop
, and restart
options to service(8).”
So to stop the InfluxDB service, for example, you could use:
sudo service influxdb stop