FS#63231 - [grafana] systemd service After= tag
Attached to Project:
Community Packages
Opened by danieltetraquark (danieltetraquark) - Friday, 19 July 2019, 14:41 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 03 September 2019, 10:55 GMT
Opened by danieltetraquark (danieltetraquark) - Friday, 19 July 2019, 14:41 GMT
Last edited by Jelle van der Waa (jelly) - Tuesday, 03 September 2019, 10:55 GMT
|
Details
Description: Missing "After=" tag in grafana summary leads
to systemd trying to start grafana prior to database backend
and thus fails.
Upstream uses ``` After=postgresql.service mariadb.service mysqld.service ``` Steps to reproduce: configure grafana with a db backend (mysql/postgresql/…), enable its service, reboot. The service grafana.service will fail because the database backend is not yet started. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Tuesday, 03 September 2019, 10:55 GMT
Reason for closing: Implemented
Additional comments about closing: 6.3.5-1
Tuesday, 03 September 2019, 10:55 GMT
Reason for closing: Implemented
Additional comments about closing: 6.3.5-1
```
Before=, After=
A space-separated list of unit names. Configures ordering dependencies between units. If a unit foo.service contains a setting Before=bar.service and both units are being started, bar.service's start-up is delayed until foo.service is started up. Note that this setting is independent of and orthogonal to the requirement dependencies as configured by Requires=
```