mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Run app as user instead of root
This commit is contained in:
parent
8537fc1e19
commit
41b720d2a3
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 sudo ./app > backend.log 2>&1 &
|
||||
nohup ./app > backend.log 2>&1 &
|
||||
}
|
||||
|
||||
start_client() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue