fix: remove sudo from happy daemon start #16

Merged
cpfarhood merged 1 commits from fix/happy-daemon-no-sudo into main 2026-02-20 15:07:24 +00:00
cpfarhood commented 2026-02-20 15:05:50 +00:00 (Migrated from github.com)

Summary

  • startapp.sh is already executed as the app user (UID 1000) by jlesage/baseimage-gui, so happy daemon start already runs as the correct user with the right HOME
  • The sudo -u from the previous fix was unnecessary and broke startup because the app user isn't in sudoers

Test plan

  • Deploy updated image
  • Confirm no sudoers error in startup logs
  • Confirm Happy daemon starts successfully and responds from mobile/webapp

🤖 Generated with Claude Code

## Summary - `startapp.sh` is already executed as the `app` user (UID 1000) by `jlesage/baseimage-gui`, so `happy daemon start` already runs as the correct user with the right `HOME` - The `sudo -u` from the previous fix was unnecessary and broke startup because the `app` user isn't in sudoers ## Test plan - [ ] Deploy updated image - [ ] Confirm no `sudoers` error in startup logs - [ ] Confirm Happy daemon starts successfully and responds from mobile/webapp 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.