github.com/koko1123/flow-go-1@v0.29.6/deploy/systemd-docker/flow-collection.service (about) 1 [Unit] 2 Description=Flow Collection 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/collection:${FLOW_GO_NODE_VERSION} 23 ExecStart=docker run --rm \ 24 -v /var/flow/bootstrap:/bootstrap:ro \ 25 -v /var/flow/data:/data:rw \ 26 --name flow-go \ 27 --network host \ 28 gcr.io/flow-container-registry/collection:${FLOW_GO_NODE_VERSION} \ 29 --nodeid ${FLOW_GO_NODE_ID} \ 30 --bootstrapdir /bootstrap \ 31 --datadir /data/protocol \ 32 --secretsdir /data/secrets \ 33 --ingress-addr 0.0.0.0:9000 \ 34 --bind 0.0.0.0:3569 \ 35 --loglevel ERROR