Implementing LoadDirectory.

This commit is contained in:
gotyaoi
2015-10-19 00:09:36 -07:00
committed by Ellison Marks
parent ae10fc7fb4
commit c938523cd5
4 changed files with 89 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ After=network.target
[Service]
EnvironmentFile=-/etc/default/telegraf
User=telegraf
ExecStart=/opt/telegraf/telegraf -config /etc/opt/telegraf/telegraf.conf $TELEGRAF_OPTS
ExecStart=/opt/telegraf/telegraf -config /etc/opt/telegraf/telegraf.conf -configdirectory /etc/opt/telegraf/telegraf.d $TELEGRAF_OPTS
Restart=on-failure
KillMode=process