Skip to content

Commit db08287

Browse files
committed
Adds restart option for telegraf template
[Issue 163](SensorsIot#163), reported that the template for telegraf did not include: ``` restart: unless-stopped ``` This seems like an oversight.
1 parent 9f44324 commit db08287

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.templates/telegraf/service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
telegraf:
22
container_name: telegraf
33
image: telegraf
4+
restart: unless-stopped
45
volumes:
56
- ./services/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
67
depends_on:

0 commit comments

Comments
 (0)