diff options
| author | Evgeny Volferts <eugene.wolferz@gmail.com> | 2025-09-22 22:56:43 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-22 22:56:43 +0300 |
| commit | b3e96230c4556656df92c85e6a68f741a0e1470f (patch) | |
| tree | ec9f6e4f63887cdc80c9af51914df47fac4f0891 /x-ui.rc | |
| parent | 1016f3b4f9ac6df05a2b3479c485cdba1b0a4705 (diff) | |
Add Alpine Linux support (#3534)
* Add Alpine linux support
* Fix for reading logs
Diffstat (limited to 'x-ui.rc')
| -rw-r--r-- | x-ui.rc | 13 |
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 |
