A third party ATProto appview
1[Unit]
2Description=AT Protocol Python Unified Worker with Backfill
3After=network.target postgresql.service
4
5[Service]
6Type=simple
7User=ubuntu
8Group=ubuntu
9WorkingDirectory=/workspace/python-firehose
10Environment="PATH=/usr/local/bin:/usr/bin:/bin"
11EnvironmentFile=/workspace/.env
12ExecStart=/usr/bin/python3 /workspace/python-firehose/unified_worker.py
13Restart=always
14RestartSec=10
15
16# Resource limits
17LimitNOFILE=65536
18MemoryLimit=2G
19
20# Logging
21StandardOutput=journal
22StandardError=journal
23
24[Install]
25WantedBy=multi-user.target