Packaging: Start Grafana service after InfluxDB (#64090)

as done with other database services, supported as Grafana data sources.

Signed-off-by: MichaIng <micha@dietpi.com>
pull/64459/head
MichaIng 2 years ago committed by GitHub
parent 0b0140b761
commit a40f95e8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packaging/deb/systemd/grafana-server.service
  2. 2
      packaging/rpm/systemd/grafana-server.service

@ -3,7 +3,7 @@ Description=Grafana instance
Documentation=http://docs.grafana.org
Wants=network-online.target
After=network-online.target
After=postgresql.service mariadb.service mysql.service
After=postgresql.service mariadb.service mysql.service influxdb.service
[Service]
EnvironmentFile=/etc/default/grafana-server

@ -3,7 +3,7 @@ Description=Grafana instance
Documentation=http://docs.grafana.org
Wants=network-online.target
After=network-online.target
After=postgresql.service mariadb.service mysqld.service
After=postgresql.service mariadb.service mysqld.service influxdb.service
[Service]
EnvironmentFile=/etc/sysconfig/grafana-server

Loading…
Cancel
Save