Build the server as RPM packages for Rocky Linux, RHEL and Fedora
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
The server now also installs as an .rpm for Rocky Linux and RHEL 10 and for Fedora 44 (deploy/rpm-server), built on each distribution against the PostgreSQL it ships, and requiring exactly that version (postgresql-server(:MODULE_COMPAT_ )). It contains what the .deb does, and shares its services, configuration template and commands. RPM distributions do not initialize PostgreSQL, so openchronology-setup (run by the package, and again by hand) initializes it when needed, creates its socket directory (tmpfiles only does at the end of the transaction), then creates the database with pgmp, migrates and starts the service, as the Debian postinst does. Upgrades stop the server and advise; removal keeps the configuration and database and says how to delete them. scripts/server-deb.mjs becomes scripts/server-package.mjs, building either format; CI builds and tests all four targets (test/server-rpm.mjs), and the download page offers dnf one-liners. Part of #116 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/8af86ed78e5603e3d9540a81ecff256867558ce2
Related
Open Build the server as RPM packages for Rocky Linux, RHEL and Fedora in the timeline