blob: 81f654281259c8e1aafb74ec134687b740e21b2c (
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/share/hoarder/version
WorkingDirectory = /usr/share/hoarder/db_migrations
ExecStartPre = /usr/bin/node index.js
ExecStart = /usr/bin/node /usr/share/hoarder/apps/web/server.js
TimeoutStopSec = 5
SyslogIdentifier = hoarder-web
[Install]
WantedBy = multi-user.target
|