From fe5b6a07e5630a635349bd12e9e5b7b463a9d43f Mon Sep 17 00:00:00 2001 From: Jun Aishima Date: Wed, 21 Sep 2022 18:25:54 -0400 Subject: [PATCH] remove setting up epics, add config for password * re-provisioned notebook hosts don't have the script for setting up epics, so remove its call * new config file added with password. the password is in bitwarden in the n2sn-inststaff-fmx collection --- st.cmd | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/st.cmd b/st.cmd index a8d729b..0325ce0 100755 --- a/st.cmd +++ b/st.cmd @@ -5,8 +5,6 @@ export USER=xf17id1 export HOME=/epics/iocs/notebook export SHELL=bash -. /etc/profile.d/epics.sh - log_dir="/var/log/jupyter/" jupyter_log="$log_dir/jupyter-amx_$(date "+%F_%H-%M-%S").log" @@ -23,4 +21,4 @@ conda env list # symlinked to /usr/share/jupyter/kernels/collection-2019-3.0/kernel.json # ############################################################################### -jupyter lab --no-browser --notebook-dir=/epics/iocs/notebook/notebooks/ --ip=0.0.0.0 --port=17000 --debug > $jupyter_log 2>&1 +jupyter lab --no-browser --config=/epics/iocs/notebook/configs/jupyter_notebook_config.py --notebook-dir=/epics/iocs/notebook/notebooks/ --ip=0.0.0.0 --port=17000 > $jupyter_log 2>&1