summarylogtreecommitdiffstats
path: root/hoarder-workers.service
blob: b36d7d68f48a5534a4a2532b8cdc9a1a5026cd19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description = Hoarder workers
Wants = network-online.target redis.service hoarder-browser.service ollama.service
After = network-online.target redis.service hoarder-browser.service ollama.service

[Service]
User = hoarder
Restart = on-failure
Environment = DATA_DIR=/var/lib/hoarder
EnvironmentFile = -/etc/hoarder/hoarder.env
WorkingDirectory = /usr/share/hoarder/apps/workers
ExecStart = /usr/bin/pnpm run start:prod
TimeoutStopSec = 5
SyslogIdentifier = hoarder-workers

[Install]
WantedBy = multi-user.target