Skip to content

Instantly share code, notes, and snippets.

@chessai
Created July 28, 2023 21:19
Show Gist options
  • Save chessai/5e864c02d7d7fe53175e2ba870777384 to your computer and use it in GitHub Desktop.
Save chessai/5e864c02d7d7fe53175e2ba870777384 to your computer and use it in GitHub Desktop.
[Unit]
After=network.target
Description=Chainweb Node
[Service]
Environment="LOCALE_ARCHIVE=/nix/store/096qhfi2rdycfd7y4nwmfljhpyj96lzq-glibc-locales-2.37-8/lib/locale/locale-archive"
Environment="PATH=/nix/store/mnjksxz8alkwf6pa74a9j04h93p3y2sy-coreutils-9.3/bin:/nix/store/ng1nxslr5vfachs9rhiaa007l7danl6i-findutils-4.9.0/bin:/nix/store/bjbvd4drv2awzyx66m5hkarkrvj389pi-gnugrep-3.11/bin:/nix/store/c6bvswjq3hmy69wd7nsf3cjv8b7v221s-gnused-4.9/bin:/nix/store/8pbr7x6wh765mg43zs0p70gsaavmbbh7-systemd-253.3/bin:/nix/store/mnjksxz8alkwf6pa74a9j04h93p3y2sy-coreutils-9.3/sbin:/nix/store/ng1nxslr5vfachs9rhiaa007l7danl6i-findutils-4.9.0/sbin:/nix/store/bjbvd4drv2awzyx66m5hkarkrvj389pi-gnugrep-3.11/sbin:/nix/store/c6bvswjq3hmy69wd7nsf3cjv8b7v221s-gnused-4.9/sbin:/nix/store/8pbr7x6wh765mg43zs0p70gsaavmbbh7-systemd-253.3/sbin"
Environment="TZDIR=/nix/store/0jpizxsxagcl0q7gzdl5l9g08ad2iwr3-tzdata-2023c/share/zoneinfo"
ExecReload=/nix/store/mnjksxz8alkwf6pa74a9j04h93p3y2sy-coreutils-9.3/bin/kill -HUP $MAINPID
ExecStart=/nix/store/zs71rmi3jslvdi2dkvsawp6bvsxyrphq-chainweb/bin/chainweb-node \
--config-file=/nix/store/y9jfriix3805rs3p7sv9pi9m8is16nah-node-es-logging.yaml \
\
--database-directory /var/lib/chainweb-node/mainnet01 \
--disable-node-mining \
--bootstrap-reachability 0.500000 \
--p2p-port 1789 \
--service-port 1848 \
--no-only-sync-pact \
--log-level=info \
--log-format=text \
--log-handle=stderr \
--chainweb-version mainnet01 \
--header-stream \
--disable-tx-reintro
ExecStartPre=/nix/store/fy131dqnz5czyjbn4h1gj71l5bzz11bd-unit-script-chainweb-node-pre-start/bin/chainweb-node-pre-start
Group=chainweb
KillMode=mixed
KillSignal=SIGINT
TimeoutSec=120
User=chainweb
logging:
telemetryBackend:
configuration:
handle: es:SFM4ZnIzVUJXa3Z0dzJIZ3VGSXY6c2pnLU14bV9TWEtzdnNLZDNZcEtmZw==:https://f88c37c0e3824f4da67c2684511c226a.us-central1.gcp.cloud.es.io:9243
format: json
backend:
handle: es:SFM4ZnIzVUJXa3Z0dzJIZ3VGSXY6c2pnLU14bV9TWEtzdnNLZDNZcEtmZw==:https://f88c37c0e3824f4da67c2684511c226a.us-central1.gcp.cloud.es.io:9243
format: json
logger:
queue_size: 10000
log_level: info
filter:
rules:
- value: http:p2p-api
key: component
level: info
rate: 0.01
- value: http:service-api
key: component
level: info
- value: http
key: component
level: warn
default: debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment