tractatus/src/controllers
TheFlow 426fde1ac5 feat(infra): semantic versioning and systemd service implementation
**Cache-Busting Improvements:**
- Switched from timestamp-based to semantic versioning (v1.0.2)
- Updated all HTML files: index.html, docs.html, leader.html
- CSS: tailwind.css?v=1.0.2
- JS: navbar.js, document-cards.js, docs-app.js v1.0.2
- Professional versioning approach for production stability

**systemd Service Implementation:**
- Created tractatus-dev.service for development environment
- Created tractatus-prod.service for production environment
- Added install-systemd.sh script for easy deployment
- Security hardening: NoNewPrivileges, PrivateTmp, ProtectSystem
- Resource limits: 1GB dev, 2GB prod memory limits
- Proper logging integration with journalctl
- Automatic restart on failure (RestartSec=10)

**Why systemd over pm2:**
1. Native Linux integration, no additional dependencies
2. Better OS-level security controls (ProtectSystem, ProtectHome)
3. Superior logging with journalctl integration
4. Standard across Linux distributions
5. More robust process management for production

**Usage:**
  # Development:
  sudo ./scripts/install-systemd.sh dev

  # Production:
  sudo ./scripts/install-systemd.sh prod

  # View logs:
  sudo journalctl -u tractatus -f

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 09:16:22 +13:00
..
admin.controller.js feat: add API routes, controllers, and migration tools 2025-10-07 00:36:40 +13:00
auth.controller.js feat: add API routes, controllers, and migration tools 2025-10-07 00:36:40 +13:00
blog.controller.js feat: fix documentation system - cards, PDFs, TOC, and navigation 2025-10-07 22:51:55 +13:00
cases.controller.js feat: implement AI-powered features (Phase 1 Core) 2025-10-08 00:14:00 +13:00
documents.controller.js feat(infra): semantic versioning and systemd service implementation 2025-10-09 09:16:22 +13:00
koha.controller.js feat(infra): semantic versioning and systemd service implementation 2025-10-09 09:16:22 +13:00
media.controller.js feat: implement AI-powered features (Phase 1 Core) 2025-10-08 00:14:00 +13:00