We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78657ac commit 7053ca5Copy full SHA for 7053ca5
1 file changed
deploy.sh
@@ -21,8 +21,8 @@ else
21
echo "Go is already installed: $(go version)"
22
fi
23
24
-export PATH=$(command -v go)
25
-echo "Go binary located at: $PATH"
+export GO_PATH=$(command -v go)
+echo "Go binary located at: $GO_PATH"
26
27
PROJECT_ROOT=$(pwd)
28
@@ -109,7 +109,7 @@ BindsTo=storage-engine.service
109
[Service]
110
Type=simple
111
WorkingDirectory=$GO_PROJECT_PATH
112
-ExecStart=/usr/local/go/bin/go run node_coordinator.go
+ExecStart=$GO_PATH run node_coordinator.go
113
Restart=on-failure
114
RestartSec=5
115
User=runner
0 commit comments