feat: add systemd user service for mnemosyne auto-restart

This commit is contained in:
Joey Yakimowich-Payne 2026-03-13 12:07:17 -06:00
commit 8df3f4f2b7

16
deploy/mnemosyne.service Normal file
View file

@ -0,0 +1,16 @@
[Unit]
Description=Mnemosyne LLM Context Gateway
After=network.target
StartLimitIntervalSec=60
StartLimitBurst=5
[Service]
Type=simple
WorkingDirectory=%h/Projects/contextmanager
ExecStart=%h/Projects/contextmanager/.venv/bin/mnemosyne --no-launch --port 8080
Restart=on-failure
RestartSec=3
Environment=HOME=%h
[Install]
WantedBy=default.target