Files
ouranos/ansible/anythingllm/anythingllm-server.service.j2
Robert Helewka b4d60f2f38 docs: rewrite README with structured overview and quick start guide
Replaces the minimal project description with a comprehensive README
including a component overview table, quick start instructions, common
Ansible operations, and links to detailed documentation. Aligns with
Red Panda Approval™ standards.
2026-03-03 12:49:06 +00:00

30 lines
698 B
Django/Jinja

[Unit]
Description=AnythingLLM Server
Documentation=https://docs.anythingllm.com
After=network.target postgresql.service
Wants=anythingllm-collector.service
[Service]
Type=simple
User={{ anythingllm_user }}
Group={{ anythingllm_group }}
WorkingDirectory={{ anythingllm_directory }}/app/server
Environment=NODE_ENV=production
Environment=SERVER_PORT={{ anythingllm_port }}
ExecStart=/usr/bin/node index.js
Restart=on-failure
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=anythingllm-server
# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths={{ anythingllm_directory }}
[Install]
WantedBy=multi-user.target