no message
This commit is contained in:
@@ -59,6 +59,7 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
PID=$(cat "$PID_FILE")
|
PID=$(cat "$PID_FILE")
|
||||||
|
echo "pid=$PID"
|
||||||
if ! kill -0 "$PID" 2>/dev/null; then
|
if ! kill -0 "$PID" 2>/dev/null; then
|
||||||
echo "pid $PID not alive" >&2
|
echo "pid $PID not alive" >&2
|
||||||
sudo -n tail -n 50 "$DEPLOY_DIR/logs/app.log" >&2 || true
|
sudo -n tail -n 50 "$DEPLOY_DIR/logs/app.log" >&2 || true
|
||||||
|
|||||||
Reference in New Issue
Block a user