Port for status server using variable

pull/515/head
kompotkot 2022-01-19 19:57:37 +00:00
rodzic e1a2d48d33
commit e0dbe8a0b3
3 zmienionych plików z 8 dodań i 11 usunięć

Wyświetl plik

@ -7,7 +7,10 @@ User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/moonstream/nodes/server
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream/nodes/server/nodestatus -blockchain ethereum -host "${AWS_LOCAL_IPV4}" -port 8734
ExecStart=/home/ubuntu/moonstream/nodes/server/nodestatus \
-blockchain polygon \
-host "${AWS_LOCAL_IPV4}" \
-port "${MOONSTREAM_NODES_SERVER_PORT}"
SyslogIdentifier=node-status
[Install]

Wyświetl plik

@ -26,15 +26,6 @@ HEIMDALL_HOME="/mnt/disks/nodes/${BLOCKCHAIN}/.heimdalld"
# Node status server service file
NODE_STATUS_SERVER_SERVICE_FILE="node-status.service"
# Polygon heimdalld service files
POLYGON_HEIMDALLD_SERVICE_FILE="heimdalld.service"
POLYGON_HEIMDALLD_BRIDGE_SERVICE_FILE="heimdalld-bridge.service"
POLYGON_HEIMDALLD_REST_SERVICE_FILE="heimdalld-rest-server.service"
# Polygon bor service file
POLYGON_BOR_SERVICE_FILE="bor.service"
set -eu
echo

Wyświetl plik

@ -7,7 +7,10 @@ User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/moonstream/nodes/server
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream/nodes/server/nodestatus -blockchain polygon -host "${AWS_LOCAL_IPV4}" -port 8734
ExecStart=/home/ubuntu/moonstream/nodes/server/nodestatus \
-blockchain polygon \
-host "${AWS_LOCAL_IPV4}" \
-port "${MOONSTREAM_NODES_SERVER_PORT}"
SyslogIdentifier=node-status
[Install]