moonstream/nodes/deploy/node-balancer.service

23 wiersze
571 B
INI
Czysty Zwykły widok Historia

[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
2022-05-10 19:10:08 +00:00
ExecStart=/home/ubuntu/moonstream/nodes/node_balancer/nodebalancer server \
2022-05-10 19:00:49 +00:00
-host "${AWS_LOCAL_IPV4}" \
-port 8544 \
-healthcheck \
-config /home/ubuntu/.nodebalancer/config.txt
SyslogIdentifier=node-balancer
[Install]
2022-05-03 12:39:33 +00:00
WantedBy=multi-user.target