update 2024-03-23 08:24:44

This commit is contained in:
actions-user 2024-03-23 08:24:44 +08:00
parent 5e6cf81165
commit 1939fa86f7
2 changed files with 6 additions and 4 deletions

View File

@ -45,7 +45,7 @@ define Package/$(PKG_NAME)
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=A file list program that supports multiple storage
URL:=https://alist-doc.nn.ci/
URL:=https://alist.nn.ci/
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
endef

View File

@ -103,7 +103,7 @@ start_service() {
"force_https": false,
"cert_file": "$ssl_cert",
"key_file": "$ssl_key",
"unix_file": "/var/alist.sock"
"unix_file": "/var/run/alist.sock"
},
"temp_dir": "$temp_dir",
"bleve_dir": "$data_dir/bleve",
@ -121,13 +121,15 @@ start_service() {
}
EOF
procd_open_instance alist
procd_open_instance
procd_set_param command $PROG
procd_append_param command server --data $data_dir
procd_set_param stdout 0
procd_set_param stderr 0
procd_set_param respawn
procd_close_instance alist
procd_set_param limits core="unlimited"
procd_set_param limits nofile="200000 200000"
procd_close_instance
}
service_triggers() {