mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-15 04:53:00 +08:00
This commit is contained in:
1 parent
645709eea5
commit
518b4c9f03
2 files changed
+3
-4
No files matched your search
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=filebrowser-q
|
||||
PKG_VERSION:=2.1.5-beta
|
||||
PKG_RELEASE:=19
|
||||
PKG_RELEASE:=20
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/gtsteffaniak/filebrowser/tar.gz/v$(PKG_VERSION)?
|
||||
|
||||
@@ -15,11 +15,11 @@ start_service() {
|
||||
config_get_bool enabled "config" "enabled" "0"
|
||||
[ "$enabled" -eq "1" ] || return 1
|
||||
|
||||
local listen_port root_path root_name adminUsername adminPassword cacheDir cacheDirMaxSizeMB
|
||||
local listen_port root_path root_name cacheDir cacheDirMaxSizeMB
|
||||
config_get listen_port "config" "listen_port" "8787"
|
||||
config_get root_path "config" "root_path" "/"
|
||||
config_get cacheDir "config" "cacheDir" "/tmp"
|
||||
config_get cacheDirMaxSizeMB "config" "cacheDirMaxSizeMB" "500"
|
||||
config_get cacheDirMaxSizeMB "config" "cacheDirMaxSizeMB" "300"
|
||||
|
||||
root_name=""
|
||||
[ "$root_path" = "/" ] && root_name="root"
|
||||
@@ -42,7 +42,6 @@ server:
|
||||
config:
|
||||
defaultEnabled: true
|
||||
cacheDir: "$cacheDir"
|
||||
cacheDirCleanup: true
|
||||
cacheDirMaxSizeMB: $cacheDirMaxSizeMB
|
||||
auth:
|
||||
methods:
|
||||
|
||||
Reference in new issue
Block a user