Skip to content

Commit 234ab70

Browse files
committed
add bash scripts for atlas server handling
1 parent 134d166 commit 234ab70

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
set -eu
4+
5+
HERE=$(dirname ${BASH_SOURCE:-$0})
6+
7+
# Try to source the env file.
8+
if [ -f $HERE/env.sh ]; then
9+
echo "Sourcing env file"
10+
source $HERE/env.sh
11+
fi
12+
13+
uv run $HERE/run_atlas_server.py "$@"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
set -eu
4+
5+
HERE=$(dirname ${BASH_SOURCE:-$0})
6+
HERE="$( cd -- "$HERE" > /dev/null 2>&1 && pwd )"
7+
8+
# Try to source the env file.
9+
if [ -f $HERE/env.sh ]; then
10+
echo "Sourcing env file"
11+
source $HERE/env.sh
12+
fi
13+
14+
uv run $HERE/stop_atlas_server.py "$@"

0 commit comments

Comments
 (0)