mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-17 14:02:59 +08:00
🐶 Sync 2026-11-16 22:02:48
This commit is contained in:
1 parent
cdec1dfaa0
commit
61029384e8
43 files changed
+755
-102
No files matched your search
@@ -34,6 +34,9 @@ start_service() {
|
||||
chmod 0700 "$data_dir/config" "$data_dir/state"
|
||||
|
||||
logger -t kaiplus "Starting KaiPlus service"
|
||||
if ! pidof changeguard_bin >/dev/null; then
|
||||
/etc/init.d/changeguard enable && /etc/init.d/changeguard start || return 1
|
||||
fi
|
||||
procd_open_instance kaiplus
|
||||
procd_set_param env \
|
||||
KAIPLUS_HOME="$data_dir" \
|
||||
@@ -43,7 +46,7 @@ start_service() {
|
||||
LINKEASE_AUTH_PROVIDER="openwrt_luci" \
|
||||
KAIPLUS_LISTEN_MODE="tcp" \
|
||||
REASONIX_CREDENTIALS_STORE="file"
|
||||
procd_set_param command /usr/sbin/kaiplus kaiplus-web
|
||||
procd_set_param command /usr/sbin/kaiplus_bin kaiplus-web
|
||||
procd_append_param command --listen-mode tcp
|
||||
procd_append_param command --addr "0.0.0.0:$port"
|
||||
procd_append_param command --data-dir "$data_dir"
|
||||
|
||||
Reference in new issue
Block a user