From fabfe938814a902b2b52cf3d4ba768733907d922 Mon Sep 17 00:00:00 2001 From: Rezaul Karim Shaon Date: Thu, 12 Sep 2024 15:30:29 +0600 Subject: [PATCH] deploy --- deploy.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index 6504e38..667827d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -33,7 +33,6 @@ echo -e "${YELLOW}=======================================${RESET}" cd /var/www/bookshelf.rkshaon.info/backend pwd -sudo su echo -e "${BLUE}Activating Virtual Environment${RESET}" echo -e "${YELLOW}=======================================${RESET}" @@ -44,10 +43,9 @@ echo -e "${BLUE}Migrating${RESET}" echo -e "${YELLOW}=======================================${RESET}" python manage.py migrate -exit echo -e "${BLUE}Restart Backend Gunicorn Service${RESET}" echo -e "${YELLOW}=======================================${RESET}" -sudo systemctl restart gunicorn-bookshelf.service +systemctl restart gunicorn-bookshelf.service echo -e "${RED}Finish${RESET}..."