github.com/shrimpyuk/bor@v0.2.15-0.20220224151350-fb4ec6020bae/builder/files/bor.service (about)

     1  [Unit]
     2    Description=bor
     3    StartLimitIntervalSec=500
     4    StartLimitBurst=5
     5  
     6  [Service]
     7    Restart=on-failure
     8    RestartSec=5s
     9    ExecStart=/usr/local/bin/bor \
    10      --bor-mumbai \
    11      # --bor-mainnet \
    12      --datadir /var/lib/bor/data \
    13      --bootnodes "enode://0cb82b395094ee4a2915e9714894627de9ed8498fb881cec6db7c65e8b9a5bd7f2f25cc84e71e89d0947e51c76e85d0847de848c7782b13c0255247a6758178c@44.232.55.71:30303,enode://88116f4295f5a31538ae409e4d44ad40d22e44ee9342869e7d68bdec55b0f83c1530355ce8b41fbec0928a7d75a5745d528450d30aec92066ab6ba1ee351d710@159.203.9.164:30303"
    14      # Validator params
    15      # Uncomment and configure the following lines in case you run a validator
    16      # --keystore /var/lib/bor/keystore \
    17      # --unlock [VALIDATOR ADDRESS] \
    18      # --password /var/lib/bor/password.txt \
    19      # --allow-insecure-unlock \
    20      # --nodiscover --maxpeers 1 \
    21      # --mine
    22    Type=simple
    23    User=root
    24    KillSignal=SIGINT
    25    TimeoutStopSec=120
    26  
    27  [Install]
    28    WantedBy=multi-user.target