Skip to content
Snippets Groups Projects
Commit 2a743402 authored by Aleksandr Vodianov's avatar Aleksandr Vodianov
Browse files

Merge branch 'notify-config' into 'master'

added notify configs for mac and linux

See merge request !34
parents 5460e13f 16fe2499
No related branches found
No related tags found
2 merge requests!56Develop nodeplistfix,!34added notify configs for mac and linux
...@@ -20,6 +20,12 @@ reconfigure|configure) ...@@ -20,6 +20,12 @@ reconfigure|configure)
db_input critical cellframe-node/server_port || true db_input critical cellframe-node/server_port || true
db_go || 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_input critical cellframe-node/core_t_enabled || true
db_go || true db_go || true
......
...@@ -43,6 +43,11 @@ sed -i "s/{SERVER_PORT}/$RET/g" $DAP_CFG || true ...@@ -43,6 +43,11 @@ sed -i "s/{SERVER_PORT}/$RET/g" $DAP_CFG || true
db_get cellframe-node/server_addr || true db_get cellframe-node/server_addr || true
sed -i "s/{SERVER_ADDR}/$RET/g" $DAP_CFG || 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 # Init core testnet
NET_NAME="core-t" NET_NAME="core-t"
......
...@@ -31,6 +31,17 @@ Type: string ...@@ -31,6 +31,17 @@ Type: string
Description: Server address Description: Server address
Server address to listen on 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 Template: cellframe-node/core_t_enabled
Default: false Default: false
......
...@@ -12,6 +12,8 @@ export DAP_AUTO_ONLINE=true ...@@ -12,6 +12,8 @@ export DAP_AUTO_ONLINE=true
export DAP_SERVER_ENABLED=false export DAP_SERVER_ENABLED=false
export DAP_SERVER_ADDRESS=0.0.0.0 export DAP_SERVER_ADDRESS=0.0.0.0
export DAP_SERVER_PORT=8089 export DAP_SERVER_PORT=8089
export DAP_NOTIFY_SRV_ADDRESS=127.0.0.1
export DAP_NOTIFY_SRV_PORT=8080
# DapCash testnet # DapCash testnet
export DAP_CORE_T_ENABLED=true export DAP_CORE_T_ENABLED=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment