From 2392afd18c20cf8d20b51ef5db32942664e6b97b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Diemer?= <stephane.diemer@ubicast.eu>
Date: Thu, 23 Mar 2017 09:08:26 +0100
Subject: [PATCH] Moved cp to monitor (refs #20919).

---
 1.Base/1.Utilities/bashrc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/1.Base/1.Utilities/bashrc b/1.Base/1.Utilities/bashrc
index c36b9306..4ab11206 100644
--- a/1.Base/1.Utilities/bashrc
+++ b/1.Base/1.Utilities/bashrc
@@ -112,12 +112,3 @@ alias aptug='sudo apt-get upgrade'
 # files
 alias rmempty='find . -type d -empty -delete'
 alias rmpyc='find . -name *.pyc -type f -delete && find . -name __pycache__ -type d -delete'
-
-# send a file to the dir served by monitor on https
-function cp_to_monitor() {
-	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
-	echo "Files are available here: https://$url/storage/"
-}
-- 
GitLab