From 8c48d86a3c89e4c331dfe58f574b12779ffaeaca Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Sat, 18 May 2024 07:27:53 +0100 Subject: [PATCH] Update and rename ApplicationStart.sh to start_server.sh --- scripts/{ApplicationStart.sh => start_server.sh} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) rename scripts/{ApplicationStart.sh => start_server.sh} (85%) diff --git a/scripts/ApplicationStart.sh b/scripts/start_server.sh similarity index 85% rename from scripts/ApplicationStart.sh rename to scripts/start_server.sh index fd12b64..fef510a 100644 --- a/scripts/ApplicationStart.sh +++ b/scripts/start_server.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -start_backend() { +start_server() { cd /home/ubuntu/song-recognition - touch back.txt go build -tags netgo -ldflags '-s -w' -o app nohup ./app > backend.log 2>&1 & } @@ -14,4 +13,4 @@ start_client() { nohup serve -s build > client.log 2>&1 & } -start_backend +start_server