tractatus/scripts/mongodb-tractatus.service
TheFlow 2298d36bed fix(submissions): restructure Economist package and fix article display
- Create Economist SubmissionTracking package correctly:
  * mainArticle = full blog post content
  * coverLetter = 216-word SIR— letter
  * Links to blog post via blogPostId
- Archive 'Letter to The Economist' from blog posts (it's the cover letter)
- Fix date display on article cards (use published_at)
- Target publication already displaying via blue badge

Database changes:
- Make blogPostId optional in SubmissionTracking model
- Economist package ID: 68fa85ae49d4900e7f2ecd83
- Le Monde package ID: 68fa2abd2e6acd5691932150

Next: Enhanced modal with tabs, validation, export

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 08:47:42 +13:00

37 lines
854 B
Desktop File

[Unit]
Description=MongoDB Database Server for Tractatus
Documentation=https://docs.mongodb.org/manual
After=network.target
[Service]
Type=forking
User=theflow
Group=theflow
# MongoDB executable and configuration
ExecStart=/home/theflow/projects/mongodb/mongodb-server/bin/mongod \
--port 27017 \
--dbpath /home/theflow/projects/tractatus/data/mongodb \
--logpath /home/theflow/projects/tractatus/logs/mongodb.log \
--fork \
--quiet
ExecStop=/home/theflow/projects/mongodb/mongodb-server/bin/mongod \
--port 27017 \
--dbpath /home/theflow/projects/tractatus/data/mongodb \
--shutdown
# Restart policy
Restart=on-failure
RestartSec=5
# Security settings
PrivateTmp=true
NoNewPrivileges=true
LimitNOFILE=64000
# Working directory
WorkingDirectory=/home/theflow/projects/tractatus
[Install]
WantedBy=multi-user.target