forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[deb/rpm] On upgrade, restart kibana service
This adds a new environment variable KBN_RESTART_ON_UPGRADE with a default value of true. In an upgrade scenario Kibana will automatically restart. Closes elastic#9863
- Loading branch information
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/dev/build/tasks/os_packages/service_templates/systemd/etc/default/kibana
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
user="kibana" | ||
group="kibana" | ||
chroot="/" | ||
chdir="/" | ||
nice="" | ||
|
||
|
||
# If this is set to 1, then when `stop` is called, if the process has | ||
# not exited within a reasonable time, SIGKILL will be sent next. | ||
# The default behavior is to simply log a message "program stop failed; still running" | ||
KILL_ON_STOP_TIMEOUT=0 | ||
|
||
KBN_PATH_CONF="/etc/kibana" | ||
KBN_RESTART_ON_UPGRADE="true" |