File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 49
49
rm -rf datex.zip
50
50
- name : Run datex process in background
51
51
run : |
52
- echo "Killing any existing datex processes..."
52
+ echo "Killing any existing DATEX processes..."
53
53
pids=$(ps -ef | grep '[d]atex' | awk '{print $2}')
54
54
if [ -n "$pids" ]; then
55
55
kill -9 $pids
@@ -58,12 +58,12 @@ jobs:
58
58
echo "Cleaning up old logs..."
59
59
[ -f ./datex.log ] && rm ./datex.log
60
60
61
- echo "Starting datex in background..."
61
+ echo "Starting DATEX in background..."
62
62
nohup env RUNNER_TRACKING_ID="" ./datex-bin/datex repl -v --config example-config.dx > ./datex.log 2>&1 &
63
63
64
64
sleep 2
65
65
pids=$(ps -ef | grep '[d]atex' | awk '{print $2}')
66
- if ! [ -n "$pids" ]; then
67
- echo "❌ datex did not start. Check ./datex.log for details."
66
+ if [ -z "$pids" ]; then
67
+ echo "❌ DATEX did not start. Check ./datex.log for details."
68
68
fi
69
- echo "✅ datex started with PID: $pids"
69
+ echo "✅ DATEX started with PID: $pids"
You can’t perform that action at this time.
0 commit comments