summarylogtreecommitdiffstats
path: root/openmemory-backend.service
blob: d56f89ec6501244c03c6819b4bdefd403cd378ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=OpenMemory backend (HTTP API + MCP)
After=network.target

# Fail fast with a clear reason if user config is missing
ConditionPathExists=%E/openmemory/openmemory.env

[Service]
Type=simple
ExecStart=/usr/bin/openmemory-backend
Restart=on-failure
RestartSec=2

# Environment configuration (mandatory per-user config)
EnvironmentFile=%E/openmemory/openmemory.env

[Install]
WantedBy=default.target