github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/deploy/systemd-docker/flow-verification.service (about)

     1  [Unit]
     2  Description=Flow Verification Node running with Docker
     3  Requires=docker.service
     4  After=network-online.target docker.service
     5  
     6  [Install]
     7  Alias=flow.service
     8  WantedBy=default.target
     9  
    10  [Service]
    11  Type=simple
    12  TimeoutStopSec=1m
    13  
    14  RestartSec=5s
    15  Restart=always
    16  
    17  StandardOutput=journal
    18  
    19  EnvironmentFile=/etc/flow/runtime-conf.env
    20  EnvironmentFile=-/etc/flow/conf.d/*.env
    21  
    22  ExecStartPre=docker pull gcr.io/flow-container-registry/verification:${FLOW_GO_NODE_VERSION}
    23  ExecStart=docker run --rm \
    24  	-v /var/flow/bootstrap:/bootstrap:ro \
    25  	-v /var/flow/data:/data:rw \
    26  	--rm \
    27  	--name flow-go \
    28  	--network host \
    29  	gcr.io/flow-container-registry/verification:${FLOW_GO_NODE_VERSION} \
    30  	--nodeid ${FLOW_GO_NODE_ID} \
    31  	--bootstrapdir /bootstrap \
    32  	--datadir /data/protocol \
    33  	--secretsdir /data/secrets \
    34  	--bind 0.0.0.0:3569 \
    35  	--loglevel ERROR