local_exporter: Start after network online

The *local_exporter.service* cannot start on first boot without the
network, as it needs to pull the container image from.
master
Dustin 2024-01-06 19:49:41 -06:00
parent 7926769528
commit 910c7c56c9
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
[Unit]
Description=Bridge for local Prometheus metrics
After=network.target
After=network-online.target
Wants=network-online.target
[Container]
Image=git.pyrocufflink.net/containerimages/local_exporter:latest