I am trying to run Grafan as a service, the following is my configuration:
$ cd /etc/systemd/system/
$ touch grafana.service
Then add the following line
Note: I am using Amazon Linux 2 as OS.
In the previous config, I used it to run Prometheus as a service, but it doesn’t work as I don’t have a (config.yml) file.