fix: have telegraf service wait for network up (#11042)

This commit is contained in:
Joshua Powers 2022-05-10 15:13:44 -06:00 committed by GitHub
parent 8aacd07257
commit c7ffe1758f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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