Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Commit f07cfcb

Browse files
ko-zupaulfantom
authored andcommitted
Fix systemd service startup ordering (#83)
[patch] network.target does not provide working IP address. We have to wait network-online.target instead.
1 parent b8ea099 commit f07cfcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/node_exporter.service.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Unit]
44
Description=Prometheus Node Exporter
5-
After=network.target
5+
After=network-online.target
66

77
[Service]
88
Type=simple

0 commit comments

Comments
 (0)