Skip to content

Commit

Permalink
fix: have telegraf service wait for network up (#11042)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored May 10, 2022
1 parent 8aacd07 commit c7ffe17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/telegraf.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[Unit]
Description=The plugin-driven server agent for reporting metrics into InfluxDB
Documentation=https://github.com/influxdata/telegraf
After=network.target
After=network-online.target
Wants=network-online.target

[Service]
Type=notify
Expand Down

0 comments on commit c7ffe17

Please sign in to comment.