1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=inventory voice+vision inventory capture
After=network.target
[Service]
Type=simple
# Let `pass`/gpg find the keyring + agent so the app can fetch GEMINI_API_KEY.
Environment="GNUPGHOME=%h/.gnupg"
# Emit per-turn timing/debug logs to the journal (journalctl --user -u inventory -f).
Environment="INVENTORY_LIVE_DEBUG=1"
ExecStart=%h/.nix-profile/bin/inventory serve \
--addr=127.0.0.1:8773 \
--base-url=https://rolery.tail4db08.ts.net \
%h/.local/share/inventory/inventory.db
Restart=on-failure
RestartSec=5
[Install]
WantedBy=default.target
|