diff --git a/.templates/telegraf/service.yml b/.templates/telegraf/service.yml
index 1b5b97e95..2e0eb2b90 100644
--- a/.templates/telegraf/service.yml
+++ b/.templates/telegraf/service.yml
@@ -13,5 +13,4 @@ telegraf:
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- influxdb
- - mosquitto
diff --git a/docs/Containers/Telegraf.md b/docs/Containers/Telegraf.md
index ca3a8ed17..77a8a09f8 100644
--- a/docs/Containers/Telegraf.md
+++ b/docs/Containers/Telegraf.md
@@ -249,6 +249,10 @@ $ docker-compose restart telegraf
The `grep` strips comment lines and the `sudo tee` is a safe way of appending the result to `telegraf.conf`. The `restart` causes Telegraf to notice the change.
+This result in the Telegraf service depending on the Modquitto service, as such
+you may want to edit `docker-compose.yml` and add `- mosquitto` to the
+`depends_on:` of the mosquitto service.
+
## Getting a clean slate
### Erasing the persistent storage area