Add Alpine Linux support (#3534)

* Add Alpine linux support

* Fix for reading logs
This commit is contained in:
Evgeny Volferts
2025-09-22 19:56:43 +00:00
committed by GitHub
parent 1016f3b4f9
commit b3e96230c4
3 changed files with 223 additions and 66 deletions

13
x-ui.rc Normal file
View File

@@ -0,0 +1,13 @@
#!/sbin/openrc-run
command="/usr/local/x-ui/x-ui"
command_background=true
pidfile="/run/x-ui.pid"
description="x-ui Service"
procname="x-ui"
depend() {
need net
}
start_pre(){
cd /usr/local/x-ui
}