diff --git a/linux/debian/essentials/config b/linux/debian/essentials/config index 8a61f23d687b33cf80092ad943d5defb802b5dae..073608849e02f685b6290fa8ba65c91b91217e94 100755 --- a/linux/debian/essentials/config +++ b/linux/debian/essentials/config @@ -20,6 +20,12 @@ reconfigure|configure) db_input critical cellframe-node/server_port || true db_go || true + db_input critical cellframe-node/notify_srv_addr || true + db_go || true + + db_input critical cellframe-node/notify_srv_port || true + db_go || true + db_input critical cellframe-node/core_t_enabled || true db_go || true diff --git a/linux/debian/essentials/postinst b/linux/debian/essentials/postinst index 732a547dd6b32b5cf9c5daeb97a333a0d64ddb6d..26f52742ff548a56d1c157dc1ec25f9e4aea2f91 100755 --- a/linux/debian/essentials/postinst +++ b/linux/debian/essentials/postinst @@ -43,6 +43,11 @@ sed -i "s/{SERVER_PORT}/$RET/g" $DAP_CFG || true db_get cellframe-node/server_addr || true sed -i "s/{SERVER_ADDR}/$RET/g" $DAP_CFG || true +db_get cellframe-node/notify_srv_addr || true +sed -i "s/{NOTIFY_SRV_ADDR}/$RET/g" $DAP_CFG || true + +db_get cellframe-node/nofity_srv_port || true +sed -i "s/{NOTIFY_SRV_PORT}/$RET/g" $DAP_CFG || true # Init core testnet NET_NAME="core-t" diff --git a/linux/debian/essentials/templates b/linux/debian/essentials/templates index 5cd592c0bee3eec1aa76a1e1f567588a1783b63d..01ed44dd0c2daa09928f1699be3102396a05b219 100755 --- a/linux/debian/essentials/templates +++ b/linux/debian/essentials/templates @@ -31,6 +31,17 @@ Type: string Description: Server address Server address to listen on +Template: cellframe-node/notify_srv_addr +Default: 127.0.0.1 +Type: string +Description: Notify Server address + Notify server address to listen on + +Template: cellframe-node/notify_srv_port +Default: 8080 +Type: string +Description: Notify Server port + Notify server port to listen on Template: cellframe-node/core_t_enabled Default: false diff --git a/mac/essentials/create_configs.sh b/mac/essentials/create_configs.sh index dd2be3f51fc3a679728110d147b142f8cfa7798d..ef14104859030a46047b61970fabfb136df2d6e2 100644 --- a/mac/essentials/create_configs.sh +++ b/mac/essentials/create_configs.sh @@ -12,6 +12,8 @@ export DAP_AUTO_ONLINE=true export DAP_SERVER_ENABLED=false export DAP_SERVER_ADDRESS=0.0.0.0 export DAP_SERVER_PORT=8089 +export DAP_NOTIFY_SRV_ADDRESS=127.0.0.1 +export DAP_NOTIFY_SRV_PORT=8080 # DapCash testnet export DAP_CORE_T_ENABLED=true