Run
Once downloaded and configured the load balancer can be launched, to do so simply:
./belgic start
Daemonise
You would likely want to daemonise the process.
[Unit]
Description=Belgic
[Service]
ExecStart=path/to/belgic start
Restart=on-abnormal
Type=simple
[Install]
WantedBy=multi-user.target
Once the service is added restart the daemon, you might have to run it as sudo
.
systemctl daemon-reload
You can then start and enable the service, again, you might have to run it as sudo
.
systemctl start belgic
systemctl enable ambiorie
Currently, the load balancer does not restart when the app
or any of the file change so after a deploy you may have to
run
systemctl restart ambiorix