# llmindex.io — systemd unit (Linux hosts; on macOS m3u96b PM2 is used instead) # Author: Simon-Pierre Boucher [Unit] Description=LLM Index BullMQ workers (eval/duel/refit) After=network.target postgresql.service redis.service [Service] WorkingDirectory=/srv/llmindex/apps/worker EnvironmentFile=/srv/llmindex/.env Environment=NODE_ENV=production ExecStart=/srv/llmindex/apps/worker/node_modules/.bin/tsx src/index.ts Restart=always RestartSec=3 User=llmindex [Install] WantedBy=multi-user.target