mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3329] [MERGED] Fixed Xray restarting after being manually stopped #5396
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#5396
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/3329
Author: @fgsfds
Created: 8/7/2025
Status: ✅ Merged
Merged: 8/7/2025
Merged by: @fgsfds
Base:
main← Head:xray_manual_stop📝 Commits (2)
a72c86dfixed xray restarting after being manually stoppedea6acdarenamed func📊 Changes
4 files changed (+33 additions, -10 deletions)
View changed files
📝
web/html/index.html(+0 -3)📝
web/job/check_xray_running_job.go(+1 -1)📝
web/service/server.go(+0 -1)📝
web/service/xray.go(+32 -5)📄 Description
What is the pull request?
Closes #2896
Cron job restarts Xray even if it was manually stopped by the user.
Added check if Xray was stopped manually and prevent cron from restarting it.
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.