fix: have telegraf service wait for network up (#11042)
This commit is contained in:
parent
8aacd07257
commit
c7ffe1758f
|
|
@ -1,7 +1,8 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=The plugin-driven server agent for reporting metrics into InfluxDB
|
Description=The plugin-driven server agent for reporting metrics into InfluxDB
|
||||||
Documentation=https://github.com/influxdata/telegraf
|
Documentation=https://github.com/influxdata/telegraf
|
||||||
After=network.target
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue