fix(install): detach Modus with nohup to survive shell exit

Background & gets SIGHUP when install script shell closes
This commit is contained in:
sankalp committed 2026-07-19 18:35:23 +05:45
1 parent 0dac85cd68
commit 41b147512e
1 file changed
+2 -1
+2 -1
View File
@@ -529,7 +529,8 @@ fi
step "Starting Modus..." step "Starting Modus..."
hyprctl reload hyprctl reload
(cd "$INSTALL_DIR" && uv run python start.py) & nohup bash -c "cd \"$INSTALL_DIR\" && uv run python start.py" >/dev/null 2>&1 &
MODUS_PID=$!
MODUS_PID=$! MODUS_PID=$!
sleep 3 sleep 3