chore(NA): remove config arg from os packages (#67871)
* 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>
This commit is contained in:
parent
2f67cbfa9c
commit
386c3fd341
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue