🐤 Sync 2026-06-24 03:33:40

This commit is contained in:
github-actions[bot]
2026-06-24 03:33:40 +08:00
parent 1c661dbeb9
commit 668e1f1cb8
69 changed files with 3101 additions and 8708 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=beszel-agent
PKG_VERSION:=0.18.7
PKG_RELEASE:=5
PKG_RELEASE:=6
ifeq ($(ARCH),aarch64)
PKG_ARCH:=arm64
+1
View File
@@ -4,4 +4,5 @@ config agent 'agent'
option public_key ''
option hub_url '' # optional, for outbound mode (websockets)
option token '' # optional, for outbound mode (websockets)
option extra_filesystems '' # optional, comma-separated, e.g. 'sda1__NAS'
+3 -1
View File
@@ -7,7 +7,7 @@ USE_PROCD=1
PROG=/usr/bin/beszel-agent
start_service() {
local enabled port key url token
local enabled port key url token extra_fs
config_load 'beszel-agent'
config_get_bool enabled 'agent' 'enabled' '0'
@@ -15,6 +15,7 @@ start_service() {
config_get key 'agent' 'public_key' ''
config_get url 'agent' 'hub_url' ''
config_get token 'agent' 'token' ''
config_get extra_fs 'agent' 'extra_filesystems' ''
[ "$enabled" -eq 0 ] && return 0
@@ -39,6 +40,7 @@ start_service() {
}
procd_set_param env DATA_DIR=/usr/share/beszel-agent
[ -n "$extra_fs" ] && procd_append_param env EXTRA_FILESYSTEMS="$extra_fs"
procd_set_param respawn 3600 5 5
procd_set_param stdout 1
procd_set_param stderr 1