3x-ui/x-ui.rc

13 lines
205 B
Text
Raw Normal View History

2025-09-22 11:52:28 +00:00
#!/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
}