# llmindex.io — systemd unit (Linux hosts; on macOS m3u96b PM2 is used instead) # Author: Simon-Pierre Boucher [Unit] Description=LLM Index web (Next.js standalone on 127.0.0.1:3100) After=network.target postgresql.service redis.service [Service] WorkingDirectory=/srv/llmindex EnvironmentFile=/srv/llmindex/.env Environment=NODE_ENV=production PORT=3100 HOSTNAME=127.0.0.1 ExecStart=/usr/bin/node apps/web/.next/standalone/apps/web/server.js Restart=always RestartSec=3 User=llmindex [Install] WantedBy=multi-user.target