metricspi/rootfs/overlay/usr/lib/systemd/system/collectd.service.d/after-network-online.conf

8 lines
244 B
Plaintext

[Unit]
# If collectd starts before eth0 is "UP," it will fail to bind to the TCP
# socket for Prometheus:
#
# write_prometheus plugin: Opening a listening socket for [::]:9103 failed.
After=network-online.target
Wants=network-online.target