@@ -154,7 +154,7 @@ fn_monitor_check_update_source() {
154
154
fn_print_ok " Checking update: "
155
155
fn_print_ok_eol_nl
156
156
fn_script_log_info " Checking update: Monitor is restarting ${selfname} to apply update"
157
- alert=" restart"
157
+ alert=" update- restart"
158
158
alert.sh
159
159
command_restart.sh
160
160
core_exit.sh
@@ -177,7 +177,6 @@ fn_monitor_check_session() {
177
177
fn_script_log_error " Checking session: There are PIDS with identical tmux sessions running"
178
178
fn_script_log_error " Checking session: Killing all tmux sessions with the socketname name ${socketname} and session name ${sessionname} "
179
179
pkill -f " tmux -L ${socketname} new-session -d -x ${sessionwidth} -y ${sessionheight} -s ${sessionname} "
180
- command_restart.sh
181
180
core_exit.sh
182
181
# Check for tmux pids with the same tmux session and socket names. This will reduce issues with migration to release v23.5.0. #4296
183
182
elif [ " $( pgrep -fc -u " ${USER} " " tmux -L ${sessionname} new-session -d -x ${sessionwidth} -y ${sessionheight} -s ${sessionname} " ) " != " 0" ]; then
@@ -187,7 +186,15 @@ fn_monitor_check_session() {
187
186
fn_script_log_error " Checking session: PIDS with the same tmux session and socket names are running"
188
187
fn_script_log_error " Checking session: Killing session with the socketname name ${sessionname} and session name ${sessionname} "
189
188
pkill -f " tmux -L ${sessionname} new-session -d -x ${sessionwidth} -y ${sessionheight} -s ${sessionname} "
190
- command_restart.sh
189
+ core_exit.sh
190
+ # Check for tmux pids that are using the old type of tmux session. This will reduce issues with migration to release v23.5.0. #4296
191
+ elif [ " $( pgrep -fc -u " ${USER} " " tmux new-session -d -x ${sessionwidth} -y ${sessionheight} -s ${sessionname} " ) " != " 0" ]; then
192
+ fn_print_error " Checking session: PIDS with old type tmux session are running: "
193
+ fn_print_error_eol_nl
194
+ fn_script_log_error " Checking session: ERROR"
195
+ fn_script_log_error " Checking session: PIDS with old type tmux session are running"
196
+ fn_script_log_error " Checking session: Killing session with the session name ${sessionname} "
197
+ pkill -f " tmux new-session -d -x ${sessionwidth} -y ${sessionheight} -s ${sessionname} "
191
198
core_exit.sh
192
199
elif [ " ${status} " != " 0" ]; then
193
200
fn_print_ok " Checking session: "
0 commit comments