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.
30 lines
736 B
Django/Jinja
30 lines
736 B
Django/Jinja
[Unit]
|
|
Description=AnythingLLM Document Collector
|
|
Documentation=https://docs.anythingllm.com
|
|
After=network.target anythingllm-server.service
|
|
BindsTo=anythingllm-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User={{ anythingllm_user }}
|
|
Group={{ anythingllm_group }}
|
|
WorkingDirectory={{ anythingllm_directory }}/app/collector
|
|
EnvironmentFile={{ anythingllm_directory }}/app/server/.env
|
|
Environment=NODE_ENV=production
|
|
ExecStart=/usr/bin/node index.js
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=anythingllm-collector
|
|
|
|
# Security hardening
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths={{ anythingllm_directory }}
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|