Skip to content

Commit

Permalink
chore(NA): remove config arg from os packages (#67871)
Browse files Browse the repository at this point in the history
* chore(NA): remove config arg from os packages

* chore(NA): remove args from exec on init d

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
mistic and elasticmachine authored Jun 3, 2020
1 parent 2f67cbf commit 386c3fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Group=kibana
# exist, it continues onward.
EnvironmentFile=-/etc/default/kibana
EnvironmentFile=-/etc/sysconfig/kibana
ExecStart=/usr/share/kibana/bin/kibana "-c /etc/kibana/kibana.yml"
ExecStart=/usr/share/kibana/bin/kibana
Restart=on-failure
RestartSec=3
StartLimitBurst=3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

name=kibana
program=/usr/share/kibana/bin/kibana
args=-c\\\ /etc/kibana/kibana.yml
pidfile="/var/run/$name.pid"

[ -r /etc/default/$name ] && . /etc/default/$name
Expand Down Expand Up @@ -53,7 +52,7 @@ start() {
chroot --userspec "$user":"$group" "$chroot" sh -c "
cd \"$chdir\"
exec \"$program\" $args
exec \"$program\"
" >> /var/log/kibana/kibana.stdout 2>> /var/log/kibana/kibana.stderr &

# Generate the pidfile from here. If we instead made the forked process
Expand Down

0 comments on commit 386c3fd

Please sign in to comment.