process.cwd() defaults to / (systemd default) without an explicit WorkingDirectory. The migration code looks for drizzle/migrations/meta/_journal.json relative to cwd, so the wrapper must cd into the package directory first.
- Fix wrapper scripts: shebang at column 0, no $@ expansion - Fix @/ path alias resolution in compiled JS (tsc doesn't resolve paths) - Fix nginx log dirs (error_log, access_log, nginx.pid) - Add correct env files with proper DB password - Set user:group to gmw for env file access - Tested: all 3 services active & healthy