Private
Public Access
Adds an admin-only dashboard (apps/core) surfacing feeds that are failing to fetch, with error messages, subscriber counts, and a one-click retry that resets backoff and re-queues the fetch. Hardens config/settings/prod.py with the remaining standard Django security settings (HSTS preload, nosniff, referrer-policy, frame-options, SameSite cookies) plus a Content-Security-Policy header via django-csp, as a second layer behind nh3's HTML sanitization of feed content. Adds docs/install.md (pip + gunicorn + systemd + nginx, SQLite and Postgres both covered) plus the systemd units and nginx snippet it references, LICENSE (AGPL-3.0-or-later, matching pyproject.toml), and an updated README. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
637 B
Desktop File
24 lines
637 B
Desktop File
[Unit]
|
|
Description=Evection (Celery worker)
|
|
After=network.target redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=evection
|
|
Group=evection
|
|
WorkingDirectory=/opt/evection/app
|
|
EnvironmentFile=/opt/evection/app/.env
|
|
Environment=DJANGO_SETTINGS_MODULE=config.settings.prod
|
|
# Combine worker + beat on a single small host by adding "-B" here instead
|
|
# of also running evection-celery-beat.service — see docs/install.md.
|
|
ExecStart=/opt/evection/venv/bin/celery -A config worker --loglevel=info
|
|
Restart=on-failure
|
|
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/opt/evection/app
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|