From b6a43c3f3bff75057d646e2117613b5367b99bd6 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Tue, 8 Apr 2025 17:33:37 +0200 Subject: [PATCH] Remove scripts This is an outdated way of pyzebra deployment --- scripts/pyzebra-test.service | 11 ----------- scripts/pyzebra-test.sh | 4 ---- scripts/pyzebra.service | 10 ---------- scripts/pyzebra.sh | 4 ---- 4 files changed, 29 deletions(-) delete mode 100644 scripts/pyzebra-test.service delete mode 100644 scripts/pyzebra-test.sh delete mode 100644 scripts/pyzebra.service delete mode 100644 scripts/pyzebra.sh diff --git a/scripts/pyzebra-test.service b/scripts/pyzebra-test.service deleted file mode 100644 index 466accb..0000000 --- a/scripts/pyzebra-test.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=pyzebra-test web server - -[Service] -Type=simple -User=pyzebra -ExecStart=/bin/bash /usr/local/sbin/pyzebra-test.sh -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/scripts/pyzebra-test.sh b/scripts/pyzebra-test.sh deleted file mode 100644 index dea0aae..0000000 --- a/scripts/pyzebra-test.sh +++ /dev/null @@ -1,4 +0,0 @@ -source /opt/miniconda3/etc/profile.d/conda.sh - -conda activate test -python /opt/pyzebra/pyzebra/app/cli.py --port=5010 --allow-websocket-origin=pyzebra.psi.ch:5010 --args --spind-path=/opt/spind diff --git a/scripts/pyzebra.service b/scripts/pyzebra.service deleted file mode 100644 index 1fc4190..0000000 --- a/scripts/pyzebra.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=pyzebra web server - -[Service] -Type=simple -ExecStart=/bin/bash /usr/local/sbin/pyzebra.sh -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/scripts/pyzebra.sh b/scripts/pyzebra.sh deleted file mode 100644 index d0a3bcc..0000000 --- a/scripts/pyzebra.sh +++ /dev/null @@ -1,4 +0,0 @@ -source /opt/miniconda3/etc/profile.d/conda.sh - -conda activate prod -pyzebra --port=80 --allow-websocket-origin=pyzebra.psi.ch:80 --args --spind-path=/opt/spind