[Unit] Description=TigerBeetle Replica Documentation=https://docs.tigerbeetle.com/ After=network-online.target Wants=network-online.target systemd-networkd-wait-online.service [Service] DynamicUser=true DevicePolicy=closed ProtectHome=true StateDirectory=tigerbeetle StateDirectoryMode=700 Environment=TIGERBEETLE_CACHE_GRID_SIZE=1GiB Environment=TIGERBEETLE_ADDRESSES=3001 Environment=TIGERBEETLE_REPLICA_COUNT=1 Environment=TIGERBEETLE_REPLICA_INDEX=0 Environment=TIGERBEETLE_CLUSTER_ID=0 Environment=TIGERBEETLE_DATA_FILE=%S/tigerbeetle/0_0.tigerbeetle Type=exec ExecStartPre=/usr/local/bin/tigerbeetle-pre-start.sh ExecStart=/usr/local/bin/tigerbeetle start --cache-grid=${TIGERBEETLE_CACHE_GRID_SIZE} --addresses=${TIGERBEETLE_ADDRESSES} ${TIGERBEETLE_DATA_FILE} [Install] WantedBy=multi-user.target