We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd5fa9 commit 5c49f64Copy full SHA for 5c49f64
installer/start-maxkb.sh
@@ -11,4 +11,16 @@ fi
11
mkdir -p /opt/maxkb/python-packages
12
13
rm -f /opt/maxkb-app/tmp/*
14
+
15
+INIT_SHELL_DIR="/opt/maxkb/local/init-shells"
16
+if [ -d "$INIT_SHELL_DIR" ]; then
17
+ find "$INIT_SHELL_DIR" -maxdepth 1 -type f -name "*.sh" | sort | while IFS= read -r f; do
18
+ if bash "$f"; then
19
+ echo "[OK] init-shell >>> $f"
20
+ else
21
+ echo "[ERROR] init-shell >>> $f failed with exit code $?" >&2
22
+ fi
23
+ done
24
+fi
25
26
python /opt/maxkb-app/main.py start
0 commit comments