[Unit]
Description=Op-Geth
[Service]
User=ubuntu
WorkingDirectory=/home/ubuntu/testnet/op-geth
ExecStart=sudo /home/ubuntu/testnet/op-geth/./build/bin/geth \
--datadir ./datadir \
--http \
--http.corsdomain="*" \
--http.vhosts="*" \
--http.addr=0.0.0.0 \
--http.api=web3,debug,eth,txpool,net,engine \
--ws \
--ws.addr=0.0.0.0 \
--ws.port=8546 \
--ws.origins="*" \
--ws.api=debug,eth,txpool,net,engine \
--syncmode=full \
--gcmode=archive \
--nodiscover \
--maxpeers=0 \
--networkid=90001 \
--authrpc.vhosts="*" \
--authrpc.addr=0.0.0.0 \
--authrpc.port=8551 \
--authrpc.jwtsecret=./jwt.txt \
--rollup.disabletxpoolgossip=true \
--password=./datadir/password \
--allow-insecure-unlock \
--mine \
--miner.etherbase=0xE6B2f22B01cE0F5F834e40B09BF5E4c0DEC1046D \
--unlock=0xE6B2f22B01cE0F5F834e40B09BF5E4c0DEC1046D
#Restart=always
[Install]
WantedBy=multi-user.target