mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-02-16 17:10:49 +01:00
Merge branch 'bugfix/KASM-5475_fix_default_KASM_SVC_RECORDER' into 'develop'
KASM-5475 Fix default setting for KASM_SVC_RECORDER Closes KASM-5475 See merge request kasm-technologies/internal/workspaces-core-images!164
This commit is contained in:
commit
e1d0918094
@ -314,7 +314,7 @@ function custom_startup (){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function ensure_recorder_running () {
|
function ensure_recorder_running () {
|
||||||
if [[ ${KASM_SVC_RECORDER:-1} != 1 ]]; then
|
if [[ ${KASM_SVC_RECORDER:-0} != 1 ]]; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -466,12 +466,12 @@ do
|
|||||||
window_manager)
|
window_manager)
|
||||||
echo "Window manager crashed, restarting"
|
echo "Window manager crashed, restarting"
|
||||||
|
|
||||||
if [[ ${KASM_SVC_RECORDER:-1} == 1 ]]; then
|
if [[ ${KASM_SVC_RECORDER:-0} == 1 ]]; then
|
||||||
echo "Waiting for recorder service to upload all pending recordings"
|
echo "Waiting for recorder service to upload all pending recordings"
|
||||||
ensure_recorder_terminates_gracefully
|
ensure_recorder_terminates_gracefully
|
||||||
echo "Recorder service has terminated, exiting container"
|
echo "Recorder service has terminated, exiting container"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
start_window_manager
|
start_window_manager
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user