🛠️Run on background with SystemD

1. Configure SystemD service file

Enter this command in the terminal, But first replace:

  • PV_KEY with your privatekey

  • VPS_IP with your solid vps IP (without anything else)

  • RPC_HOLESKY with your own RPC you've save before

  • if using a local system, then replace VPS IP with 0.0.0.0

drosera.service
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
EOF

2. Run Operator

optional commands :

Last updated

Was this helpful?