You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warn "Needs to SSH to ${hostname} to check whether process ${pid} is still alive. If you don't have SSH key authentication set up, you will be asked to enter your account password below."
528
+
warn "Needs to SSH to ${hostname} to check whether process ${pid} is still alive${info}. If you don't have SSH key authentication set up, you will be asked to enter your account password below. The current machine is $(hostname)"
525
529
fi
526
530
}
527
531
@@ -683,7 +687,7 @@ function rs_process_status {
683
687
684
688
## Check if PID is still active?
685
689
if [[ ${pid}-ne 0 ]];then
686
-
warn_if_check_pid_needs_ssh "${hostname}"
690
+
warn_if_check_pid_needs_ssh "${pid}""${hostname}"
687
691
mapfile -t res <<(check_pid "${pid}""${rserver_hostname}"2>&1)
## If running, make sure we're stopping from the correct machine
1794
1802
if [[ -f"${lockfile}" ]] && [[ "$(hostname)"!="$(rserver_hostname)" ]];then
1795
-
error "Stopping the RStudio Server can only be made from the machine ($(rserver_hostname)) where it was started from - not from $(hostname)"
1803
+
file="${workdir}/rserver.hostname"
1804
+
error "Stopping the RStudio Server can only be made from the machine ($(rserver_hostname)) where it was started from - not from $(hostname) [${file}: $(file_info "${file}")]"
0 commit comments