2021-12-22 19:29:35 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Moonstream node status server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=ubuntu
|
|
|
|
Group=www-data
|
|
|
|
WorkingDirectory=/home/ubuntu/moonstream/nodes/server
|
|
|
|
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
|
2022-01-19 19:57:37 +00:00
|
|
|
ExecStart=/home/ubuntu/moonstream/nodes/server/nodestatus \
|
2022-01-22 13:07:10 +00:00
|
|
|
-blockchain ethereum \
|
2022-01-19 19:57:37 +00:00
|
|
|
-host "${AWS_LOCAL_IPV4}" \
|
|
|
|
-port "${MOONSTREAM_NODES_SERVER_PORT}"
|
2021-12-22 19:29:35 +00:00
|
|
|
SyslogIdentifier=node-status
|
|
|
|
|
|
|
|
[Install]
|
2022-01-22 13:07:10 +00:00
|
|
|
WantedBy=multi-user.target
|