P2.2: remove PySentry legacy systemd + desktop autostart from Linux

Drop cleanupLegacySystemdAutostart, cleanupLegacyDesktopAutostart,
legacySystemdAutostartExists, legacyDesktopAutostartExists, and their
path helpers; remove calls from SetAutostart and AutostartStatus; drop
the os/exec import. Remove TestLinuxAutostartRemovesLegacyDesktopEntry
which referenced the deleted legacyAutostartDesktopPath function.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
mixeme
2026-06-22 22:10:11 +03:00
parent a7faccef8a
commit db9d5adb06
3 changed files with 1 additions and 119 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ These land together because both edit `domain/job.go` and `storage/store.go`.
### Phase 2 — PySentry legacy removal
- [x] P2.1 — Windows autostart legacy code
- [ ] P2.2 — Linux autostart legacy code
- [x] P2.2 — Linux autostart legacy code
- [ ] P2.3 — Delete legacy autostart tests
- [ ] P2.4 — `.gitignore` / `.dockerignore`