fix(install): detach Modus with nohup to survive shell exit
Background & gets SIGHUP when install script shell closes
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -529,7 +529,8 @@ fi
|
||||
|
||||
step "Starting Modus..."
|
||||
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=$!
|
||||
|
||||
sleep 3
|
||||
|
||||
Reference in new issue
Block a user