feat: add systemd user service for mnemosyne auto-restart
This commit is contained in:
parent
f8f85aea47
commit
8df3f4f2b7
1 changed files with 16 additions and 0 deletions
16
deploy/mnemosyne.service
Normal file
16
deploy/mnemosyne.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue