🛠️Run on background with SystemD
1. Configure SystemD service file
Enter this command in the terminal, But first replace:
PV_KEYwith yourprivatekeyVPS_IPwith your solid vps IP (without anything else)RPC_HOLESKYwith your own RPC you've save beforeif using a
localsystem, then replace VPS IP with0.0.0.0
sudo tee /etc/systemd/system/drosera.service > /dev/null <<EOF
[Unit]
Description=drosera node service
After=network-online.target
[Service]
User=$USER
Restart=always
RestartSec=15
LimitNOFILE=65535
ExecStart=$(which drosera-operator) node --db-file-path $HOME/.drosera.db --network-p2p-port 31313 --server-port 31314 \
--eth-rpc-url <RPC_HOLESKY> \
--eth-backup-rpc-url https://1rpc.io/holesky \
--drosera-address 0xea08f7d533C2b9A62F40D5326214f39a8E3A32F8 \
--eth-private-key <PV_KEY> \
--listen-address 0.0.0.0 \
--network-external-p2p-address VPS_IP \
--disable-dnr-confirmation true
[Install]
WantedBy=multi-user.target
EOF2. Run Operator
optional commands :
Last updated
Was this helpful?