moonstream/nodes/deploy/node-balancer.service

18 wiersze
493 B
INI

[Unit]
Description=Load balancer for blockchain nodes
After=network.target
StartLimitIntervalSec=300
StartLimitBurst=3
[Service]
User=ubuntu
Group=www-data
WorkingDirectory=/home/ubuntu/moonstream/nodes/node_balancer
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
Restart=on-failure
RestartSec=15s
ExecStart=/home/ubuntu/moonstream/nodes/node_balancer/nodebalancer -host "${AWS_LOCAL_IPV4}" -port 8544 -healthcheck
SyslogIdentifier=node-balancer
[Install]
WantedBy=multi-user.target