kopia lustrzana https://github.com/bugout-dev/moonstream
Port for status server using variable
rodzic
e1a2d48d33
commit
e0dbe8a0b3
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Ładowanie…
Reference in New Issue