diff --git a/1.Base/1.Utilities/0_setup.py b/1.Base/1.Utilities/0_setup.py index 29052bc892606b26ce373eaf7743de9b4a0f2cd6..01e39998ceda26e56c04371e1c7365d8ec48b00b 100644 --- a/1.Base/1.Utilities/0_setup.py +++ b/1.Base/1.Utilities/0_setup.py @@ -40,7 +40,7 @@ alias aptug='sudo apt-get upgrade' # python alias rmpyc='find . -name *.pyc -type f -delete && find . -name __pycache__ -type d -delete' function cp_to_monitor() { - url=`grep server_name /etc/nginx/sites-enabled/skyreach.conf | tail -n 1 | cut -f 2 | cut -d " " -f 2` + url=`grep server_name /etc/nginx/sites-enabled/msmonitor.conf | tail -n 1 | cut -f 2 | cut -d " " -f 2` url="${url::-1}" echo "cp $1 /home/msmonitor/msmonitor/logs/$1" cp $1 /home/msmonitor/msmonitor/logs/$1