Skip to content

Commit

Permalink
Fix TELEGRAF_OPTS expansion in systemd service unit (#3354)
Browse files Browse the repository at this point in the history
  • Loading branch information
clheikes authored and danielnelson committed Oct 18, 2017
1 parent a4fa192 commit 02baa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/telegraf.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
[Service]
EnvironmentFile=-/etc/default/telegraf
User=telegraf
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ${TELEGRAF_OPTS}
ExecStart=/usr/bin/telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d $TELEGRAF_OPTS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartForceExitStatus=SIGPIPE
Expand Down

0 comments on commit 02baa69

Please sign in to comment.