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>
This commit is contained in:
MichaIng 2023-03-08 18:47:11 +01:00 committed by GitHub
parent 0b0140b761
commit a40f95e8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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