local_exporter: Remove After=zincati dependency
For some reason, the *zincati.service* unit has an `After=` dependency on *multi-user.target*. This creates a dependency loop between *local_exporter.service* and *zincati.service* if the former has an `After=` dependency on the latter an an (implicit) `Before=` dependency on *multi-user.target*. systemd will resolve this loop by removing one or the other units from the bootup sequence, so either Zincati or the local exporter will not start at boot. We can avoid this dependency loop by removing the `After=` dependency from *local_exporter.service*. This may cause requests for Zincati metrics to fail if it happens to come in after the local exporter starts but before Zincati does, but this is unlikely to actually be an issue.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
[Unit]
|
||||
Description=Bridge for local Prometheus metrics
|
||||
After=zincati.service
|
||||
After=network.target
|
||||
|
||||
[Container]
|
||||
|
||||
Reference in New Issue
Block a user