We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418d26e commit 034f076Copy full SHA for 034f076
phala-cloud-prelaunch-script/prelaunch.sh
@@ -157,9 +157,9 @@ if [[ -n "$DSTACK_AUTHORIZED_KEYS" ]]; then
157
fi
158
159
160
-if [[ -e /var/run/dstack.sock ]]; then
+if [[ -S /var/run/dstack.sock ]]; then
161
export DSTACK_APP_ID=$(curl -s --unix-socket /var/run/dstack.sock http://dstack/Info | jq -j .app_id)
162
-elif [[ -e /var/run/tappd.sock ]]; then
+elif [[ -S /var/run/tappd.sock ]]; then
163
export DSTACK_APP_ID=$(curl -s --unix-socket /var/run/tappd.sock http://dstack/prpc/Tappd.Info | jq -j .app_id)
164
165
# Check if app-compose.json has default_gateway_domain field and DSTACK_GATEWAY_DOMAIN is not set
0 commit comments