Skip to content

fix(packaging): migrate legacy damx daemon and update local bin symlinks in installer - #3

Merged
0PeterAdel merged 1 commit into
mainfrom
fix/daemon-migration-and-installer
Oct 21, 2026
Merged

0PeterAdel merged 1 commit into
mainfrom
fix/daemon-migration-and-installer

Conversation

@0PeterAdel

Copy link
Copy Markdown
Owner

What changed?

  • Added automatic detection and graceful stop/disable of legacy damx-daemon.service and removal of /var/run/DAMX.sock in install.sh and uninstall.sh.
  • Created symlink for predatorsense directly inside ~/.local/bin pointing to /usr/local/bin/predatorsense so the user's path immediately runs the latest installed binary.

Why?

  • Ensures that on machines upgrading from legacy DAMX setups, the old damx-daemon service does not remain running or hold socket connections, allowing the new predatorsense-daemon to cleanly take over all hardware and dynamic lighting controls.

How to review?

  • Inspect install.sh and uninstall.sh.
  • Run sudo ./install.sh to verify clean migration from damx-daemon to predatorsense-daemon.

🏷️ Type of Change

  • fix: Bug fix
  • chore: Maintenance tasks

✅ ShiftCore Engineering Checklist

  • Branch Naming: Branch follows type/short-task-name (fix/daemon-migration-and-installer).
  • Commit Messages: Commits follow type(scope): short message in lowercase.
  • Focused Scope: PR represents one logical task and changes only relevant files.
  • Local Build: Project builds cleanly.
  • No Secrets: Verified that no tokens, passwords, .env, or sensitive logs are included.

@0PeterAdel
0PeterAdel merged commit db9afcb into main Oct 21, 2026
3 checks passed
@0PeterAdel
0PeterAdel deleted the fix/daemon-migration-and-installer branch October 21, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant