[PR #1846] [MERGED] fix: clean service/client logs in uninstall scripts #2565

Closed
opened 2026-10-14 21:03:07 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1846
Author: @aiamnezia
Created: 9/8/2025
Status: ✅ Merged
Merged: 9/15/2025
Merged by: @vkamn

Base: dev ← Head: fix/clean-service-logs-after-uninstalling


📝 Commits (1)

  • 5e7550f fix: clean service/client logs in uninstall scripts;

📊 Changes

3 files changed (+61 additions, -2 deletions)

View changed files

📝 deploy/data/linux/post_uninstall.sh (+19 -0)
📝 deploy/data/windows/x32/post_uninstall.cmd (+21 -1)
📝 deploy/data/windows/x64/post_uninstall.cmd (+21 -1)

📄 Description

  • Windows (x64/x86):

    • Remove delegation to AmneziaVPN.exe -c
    • Delete %ProgramData%\AmneziaVPN\log\AmneziaVPN-service.log
    • Delete current user logs at %AppData%\AmneziaVPN.ORG\AmneziaVPN\log
    • Remove empty parent dirs (app/org, log)
  • Linux:

    • Delete only /var/log/AmneziaVPN/AmneziaVPN-service.log (preserve post-uninstall.log)
    • Delete current user logs at $HOME/.local/share/AmneziaVPN.ORG/AmneziaVPN/log

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/1846 **Author:** [@aiamnezia](https://github.com/aiamnezia) **Created:** 9/8/2025 **Status:** ✅ Merged **Merged:** 9/15/2025 **Merged by:** [@vkamn](https://github.com/vkamn) **Base:** `dev` ← **Head:** `fix/clean-service-logs-after-uninstalling` --- ### 📝 Commits (1) - [`5e7550f`](https://github.com/amnezia-vpn/amnezia-client/commit/5e7550f217da4bd59a882f8446da7896e176609d) fix: clean service/client logs in uninstall scripts; ### 📊 Changes **3 files changed** (+61 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `deploy/data/linux/post_uninstall.sh` (+19 -0) 📝 `deploy/data/windows/x32/post_uninstall.cmd` (+21 -1) 📝 `deploy/data/windows/x64/post_uninstall.cmd` (+21 -1) </details> ### 📄 Description - Windows (x64/x86): - Remove delegation to `AmneziaVPN.exe -c` - Delete `%ProgramData%\AmneziaVPN\log\AmneziaVPN-service.log` - Delete current user logs at `%AppData%\AmneziaVPN.ORG\AmneziaVPN\log` - Remove empty parent dirs (app/org, log) - Linux: - Delete only `/var/log/AmneziaVPN/AmneziaVPN-service.log` (preserve `post-uninstall.log`) - Delete current user logs at `$HOME/.local/share/AmneziaVPN.ORG/AmneziaVPN/log` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-14 21:03:07 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2565
No description provided.