feat(workers): systemd unit + push-workers.sh

Deploy README extended with workers bootstrap + note on the void2-db
SQL_ASCII cluster requiring client_encoding=UTF8 on Python clients.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
root
2026-06-01 04:46:58 +10:00
parent fba1ce48e4
commit 2a6f7f88ef
3 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=Void 2.0 workers
After=network-online.target void-server.service
Wants=network-online.target
[Service]
Type=simple
User=voidworkers
WorkingDirectory=/opt/void-workers
EnvironmentFile=/opt/void-workers/.env
ExecStart=/opt/void-workers/venv/bin/python -m void_workers.runner
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
MemoryMax=6G
[Install]
WantedBy=multi-user.target