mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3606] [MERGED] Added EnvironmentFile to systemd unit #5478
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#5478
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/3606
Author: @cherts
Created: 12/19/2025
Status: ✅ Merged
Merged: 1/3/2026
Merged by: @MHSanaei
Base:
main← Head:dev-systemd-environmentfile📝 Commits (7)
f5eab61Added EnvironmentFile to systemd unit420b4e4Added support for older releasescfccaa2Remove ARGS2a99726Fixed copy unit94b9abcFixed unit filenamed4c481bUpdate update.sh21827edMerge branch 'main' into dev-systemd-environmentfile📊 Changes
5 files changed (+50 additions, -5 deletions)
View changed files
📝
.github/workflows/release.yml(+4 -2)📝
install.sh(+12 -1)📝
update.sh(+17 -2)📝
x-ui.service.debian(+1 -0)➕
x-ui.service.rhel(+16 -0)📄 Description
What is the pull request?
Using EnvironmentFile in a systemd unit allows you to specify list of environment variables (such as XUI_DB_FOLDER) without directly modifying the systemd unit itself.
Example of /etc/default/x-ui file (debian-like os):
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.