From 55a4b47d116ac8658dba8646d9fd954671fa50a0 Mon Sep 17 00:00:00 2001 From: Chigozirim Igweamaka Date: Mon, 27 May 2024 01:22:24 +0100 Subject: [PATCH] run app with sudo --- scripts/start_server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start_server.sh b/scripts/start_server.sh index ba7c2fd..a16c0fa 100644 --- a/scripts/start_server.sh +++ b/scripts/start_server.sh @@ -9,7 +9,7 @@ start_server() { go build -tags netgo -ldflags '-s -w' -o app sudo setcap CAP_NET_BIND_SERVICE+ep app - nohup ./app > backend.log 2>&1 & + nohup sudo ./app > backend.log 2>&1 & } start_client() {