wget https://github.com/bifrost-finance/bifrost/releases/download/bifrost-v0.9.80/bifrost
adduser bifrost_service --system --no-create-home
mkdir /var/lib/bifrost-data
mv ./bifrost /var/lib/bifrost-data
sudo chown -R bifrost_service /var/lib/bifrost-data
vim /etc/systemd/system/bifrost.service
[Unit]After=network.targetStartLimitIntervalSec=0 [Service]Restart=on-failureRestartSec=10User= rootSyslogIdentifier=bifrostSyslogFacility=local7KillSignal=SIGHUPExecStart=/var/lib/bifrost-data/bifrost \ --name YOUR NAME \ --collator \ --force-authoring \ --base-path /var/lib/bifrost-data\ --port=30333 \ --prometheus-external \ --state-cache-size 0 \ -- \ --execution wasm [Install]WantedBy=multi-user.target
cd /var/lib/bifrost-datachmod +x bifrostchown bifrost_service bifrostcd $HOME
sudo systemctl enable bifrost.servicesudo systemctl start bifrost.servicesudo systemctl status bifrost.service
sudo journalctl -u bifrost.service -f -o cat
sudo systemctl stop bifrost.servicesudo systemctl disable bifrost.servicesudo rm /etc/systemd/system/bifrost.servicerm -rf /var/lib/bifrost-datasudo systemctl daemon-reload