Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x-ui.rc')
-rw-r--r--x-ui.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/x-ui.rc b/x-ui.rc
new file mode 100644
index 00000000..1323d76a
--- /dev/null
+++ b/x-ui.rc
@@ -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
+} \ No newline at end of file