add Arch Linux packaging
- Bundle the server into dist/rotrouter.cjs with esbuild (npm run build), so the package needs only nodejs at runtime and is arch=any. - Read the config and static file paths from ROTROUTER_CONFIG and ROTROUTER_PUBLIC (defaults unchanged for npm start). - PKGBUILD for rotrouter-git and a hardened systemd unit running as a DynamicUser without capabilities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
node_modules
|
||||
.idea
|
||||
dist
|
||||
/packaging/arch/src
|
||||
/packaging/arch/pkg
|
||||
/packaging/arch/RotRouter
|
||||
/packaging/arch/*.pkg.tar.*
|
||||
|
||||
Reference in New Issue
Block a user