From c2841c83423c1a51020acd0b953931ddbaeb121c Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Tue, 3 Oct 2017 11:15:22 -0700 Subject: [PATCH] Use correct variable style in influxdb.service From the systemd.service docs: Use "${FOO}" as part of a word, or as a word of its own, on the command line, in which case it will be replaced by the value of the environment variable including all whitespace it contains, resulting in a single argument. Use "$FOO" as a separate word on the command line, in which case it will be replaced by the value of the environment variable split at whitespace, resulting in zero or more arguments. --- scripts/influxdb.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/influxdb.service b/scripts/influxdb.service index 6d2ef041dd..25c2ffe9a4 100644 --- a/scripts/influxdb.service +++ b/scripts/influxdb.service @@ -10,7 +10,7 @@ User=influxdb Group=influxdb LimitNOFILE=65536 EnvironmentFile=-/etc/default/influxdb -ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf ${INFLUXD_OPTS} +ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf $INFLUXD_OPTS KillMode=control-group Restart=on-failure