Display L-UI; panel binary/process l-ui, agent lui-agent. Dirs /usr/local/l-ui, /etc/l-ui, /var/log/l-ui; DB /etc/l-ui/l-ui.db (name file drives it via GetName), probe.db beside it, cert /etc/l-ui/cert, bin /usr/local/l-ui/bin. Services l-ui.service / lui-agent.service, OpenRC lui-agent, l-ui.sh, cmd/lui-agent. Env prefix XUI_ -> LUI_ (code reads new prefix only). Release assets l-ui-linux-* / lui-agent-linux-*; Gitea repo rogue/l-ui is a placeholder pending user confirmation (see selfupdate.go note). Go module path github.com/mhsanaei/3x-ui/v3 intentionally kept. Versions unchanged: panel V2.6.0 / agent A2.5.0.
18 lines
292 B
Plaintext
18 lines
292 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
command="/usr/local/l-ui/l-ui"
|
|
command_background=true
|
|
pidfile="/run/l-ui.pid"
|
|
description="l-ui Service"
|
|
procname="l-ui"
|
|
depend() {
|
|
need net
|
|
}
|
|
start_pre(){
|
|
cd /usr/local/l-ui
|
|
}
|
|
reload() {
|
|
ebegin "Reloading ${RC_SVCNAME}"
|
|
kill -USR1 $(cat $pidfile)
|
|
eend $?
|
|
} |