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

Commit

Permalink
Fix systemd service startup ordering (#83)
Browse files Browse the repository at this point in the history
[patch] network.target does not provide working IP address.
We have to wait network-online.target instead.
  • Loading branch information
ko-zu authored and paulfantom committed May 4, 2019
1 parent b8ea099 commit f07cfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/node_exporter.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[Unit]
Description=Prometheus Node Exporter
After=network.target
After=network-online.target

[Service]
Type=simple
Expand Down

0 comments on commit f07cfcb

Please sign in to comment.