mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 09:24:19 +00:00
run app with sudo
This commit is contained in:
parent
e1bde79f8e
commit
55a4b47d11
1 changed files with 1 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue