[feat] restart xray-core from cli #3825

This commit is contained in:
Alireza Ahmadi
2026-02-20 00:03:16 +01:00
parent 37f0880f8f
commit 2b1d3e7347
7 changed files with 62 additions and 26 deletions

View File

@@ -10,4 +10,9 @@ depend() {
}
start_pre(){
cd /usr/local/x-ui
}
reload() {
ebegin "Reloading ${RC_SVCNAME}"
kill -USR1 $pidfile
eend $?
}