From 3740fcdf90c8218ae66999c42b0a6675e4691b33 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 24 Mar 2023 20:03:47 -0400 Subject: [PATCH] Switch x11vnc to a system service --- installJRMC | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installJRMC b/installJRMC index cba5711..21d3694 100755 --- a/installJRMC +++ b/installJRMC @@ -1231,9 +1231,7 @@ setServiceVars() { ;; esac - debug "service_type=$service_type, USER=$USER" if [[ $service_type == "system" && $USER != "root" ]]; then - debug HERE SERVICE_FNAME="$service_dir/$service_name@.service" TIMER_FNAME="$service_dir/$service_name@.timer" SERVICE_NAME="$service_name@$USER.service" @@ -1377,7 +1375,7 @@ service_jriver-xvnc() { service_jriver-x11vnc() { debug "Running: ${FUNCNAME[0]}" - setServiceVars "${FUNCNAME[0]##*_}" "user" + setServiceVars "${FUNCNAME[0]##*_}" "system" setDisplayVars declare -a start_cmd