app/ = /opt/callrec (Node-Backend, Vite-Frontend, Python-Inferenz, Audio-Skripte, rkllm_server.cpp), system/ = systemd-Units, WirePlumber/PipeWire-Drop-ins, sudoers. Modelle, Binaries, Aufnahmen und node_modules bleiben draussen (.gitignore). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
435 B
Desktop File
19 lines
435 B
Desktop File
[Unit]
|
|
Description=CallRec — BT recording + Whisper transcription web app
|
|
After=network-online.target mariadb.service sound.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/callrec
|
|
Environment=NODE_ENV=production
|
|
Environment=XDG_RUNTIME_DIR=/run/user/0
|
|
Environment=PORT=3000
|
|
ExecStart=/usr/bin/node /opt/callrec/server.js
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|