blob: 231ba06731c763f1173dce51475ecb484faa3be0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description = Hoarder web
Wants = network-online.target redis.service hoarder-workers.service meilisearch.service
After = network-online.target redis.service hoarder-workers.service meilisearch.service
[Service]
User = hoarder
Restart = on-failure
Environment = DATA_DIR=/var/lib/hoarder
EnvironmentFile = -/etc/hoarder/hoarder.env
EnvironmentFile = -/usr/lib/hoarder/version
WorkingDirectory = /usr/lib/hoarder/db_migrations
ExecStartPre = /usr/bin/node index.js
ExecStart = /usr/bin/node /usr/lib/hoarder/apps/web/server.js
TimeoutStopSec = 5
SyslogIdentifier = hoarder-web
[Install]
WantedBy = multi-user.target
|