Skip to content

Commit

Permalink
Remove systemd output redirection
Browse files Browse the repository at this point in the history
Let systemd handle the output so the journal can be used. This also
let's the user configure if the journal stores the output of this
service to a file instead of setting the location.

Fixes #6824.
  • Loading branch information
jsternberg committed Jun 14, 2016
1 parent 3ab9167 commit 08818ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
- [#6771](https://github.com/influxdata/influxdb/issues/6771): Fix the point validation parser to identify and sort tags correctly.
- [#6835](https://github.com/influxdata/influxdb/pull/6835): Include sysvinit-tools as an rpm dependency.
- [#6834](https://github.com/influxdata/influxdb/pull/6834): Add port to all graphite log output to help with debugging multiple endpoints
- [#6824](https://github.com/influxdata/influxdb/issues/6824): Remove systemd output redirection.

## v0.13.0 [2016-05-12]

Expand Down
4 changes: 1 addition & 3 deletions scripts/influxdb.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ After=network-online.target
User=influxdb
Group=influxdb
LimitNOFILE=65536
Environment='STDOUT=/dev/null'
Environment='STDERR=/var/log/influxdb/influxd.log'
EnvironmentFile=-/etc/default/influxdb
ExecStart=/bin/sh -c "/usr/bin/influxd -config /etc/influxdb/influxdb.conf ${INFLUXD_OPTS} >>${STDOUT} 2>>${STDERR}"
ExecStart=/usr/bin/influxd -config /etc/influxdb/influxdb.conf ${INFLUXD_OPTS}
KillMode=control-group
Restart=on-failure

Expand Down

0 comments on commit 08818ce

Please sign in to comment.