Files
KVM-privacy/debian/kvm-npu/DEBIAN/prerm
T
qiuruiandClaude Opus 4.6 3adb313fa1 feat: add kvm-npu and fill kvm-privacy deb packages for Rust services
kvm-npu (new):
- debian/kvm-npu/ with control, postinst, prerm
- config.yaml with standard model paths (/usr/share/kvm-npu/models/)
- systemd service with security hardening (ProtectSystem, PrivateTmp)
- Build script copies OCR + face models into package

kvm-privacy (filled):
- Was an empty shell (systemd-only, no binary)
- Add binary install path, pii_rules.yaml config
- New systemd service pointing to /usr/local/bin/info-privacy-rs
- Remove hardcoded /home/pi/Desktop paths from info-privacy.service

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 04:45:35 +00:00

8 lines
169 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
systemctl stop npu-daemon.service || true
systemctl disable npu-daemon.service || true
fi