Skip to content

Commit

Permalink
Adds restart option for telegraf template
Browse files Browse the repository at this point in the history
[Issue 163](SensorsIot#163), reported
that the template for telegraf did not include:

```
  restart: unless-stopped
```

This seems like an oversight.
  • Loading branch information
Paraphraser committed Nov 2, 2020
1 parent 9f44324 commit db08287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .templates/telegraf/service.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
telegraf:
container_name: telegraf
image: telegraf
restart: unless-stopped
volumes:
- ./services/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
depends_on:
Expand Down

0 comments on commit db08287

Please sign in to comment.