mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3602] [MERGED] feat: Add etckeeper compatibility (ignore x-ui.db in /etc) #5476
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5476
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/3602
Author: @Colten61
Created: 12/9/2025
Status: ✅ Merged
Merged: 1/3/2026
Merged by: @MHSanaei
Base:
main← Head:patch-1📝 Commits (1)
837dea0feat: Add etckeeper compatibility📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
install.sh(+14 -0)📄 Description
What is the pull request?
Prevents etckeeper from tracking the database (x-ui.db), which changes often and keeps the /etc repo in a constant "dirty" state.
Logic added to install.sh: Checks if /etc/.git exists. If so, appends x-ui/x-ui.db to /etc/.gitignore (avoiding duplicates) before the service starts.
Which part of the application is affected by the change?
Type of Changes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.