LATEST_RELEASE=$(curl-shttps://api.github.com/repos/celestiaorg/celestia-node/releases/latest|jq-r'.tag_name')echo"The latest Celestia Node release is: $LATEST_RELEASE"cd $HOME rm-rfcelestia-nodegitclonehttps://github.com/celestiaorg/celestia-node.gitcdcelestia-node/gitcheckout $LATEST_RELEASE# Standard buildmakebuild# Install the binarymakeinstall# Build the cel-key utilitymakecel-keycelestiaversion
sudotee<<EOF>/dev/null/etc/systemd/system/celestia-full.service[Unit]Description=celestia-fulld Full Storage NodeAfter=network-online.target[Service]User=rootExecStart=/usr/local/bin/celestia full startRestart=on-failureRestartSec=3LimitNOFILE=1400000[Install]WantedBy=multi-user.targetEOF# Enable and start celestia-full daemonsudosystemctlenablecelestia-fullsudosystemctlstartcelestia-full# Check daemon logssudojournalctl-ucelestia-full.service-f