mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 19:35:13 +08:00
⛅ Sync 2026-05-25 22:10:00
This commit is contained in:
1 parent
3d98021583
commit
dc7b6bb6f2
11 files changed
+3
-276
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=90
|
||||
USE_PROCD=1
|
||||
PROG=/usr/bin/quickfile
|
||||
|
||||
start_service() {
|
||||
procd_open_instance quickfile
|
||||
procd_set_param command $PROG
|
||||
procd_append_param command -dir /
|
||||
procd_append_param command -api /cgi-bin/luci/quickfile/api/
|
||||
procd_append_param command -static /cgi-bin/luci/quickfile-static/
|
||||
procd_append_param command -sock /tmp/run/quickfile/quickfile.sock
|
||||
procd_set_param stdout 0
|
||||
procd_set_param stderr 0
|
||||
procd_set_param respawn
|
||||
procd_set_param limits core="unlimited"
|
||||
procd_set_param limits nofile="200000 200000"
|
||||
procd_close_instance quickfile
|
||||
}
|
||||
Reference in new issue
Block a user