Update stop-sdl-wkr.sh

This commit is contained in:
John Haverlack 2026-02-04 20:33:35 -09:00
parent d4d15effd5
commit 8b00086e9f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ use_systemd() {
# Check if systemd user mode is available and service exists # Check if systemd user mode is available and service exists
if systemctl --user status >/dev/null 2>&1; then if systemctl --user status >/dev/null 2>&1; then
# Check if our service file exists # Check if our service file exists
if systemctl --user list-unit-files | grep -q "^sdl-mgr.service"; then if systemctl --user list-unit-files | grep -q "^sdl-wkr.service"; then
return 0 # Use systemd return 0 # Use systemd
fi fi
fi fi