summarylogtreecommitdiffstats
path: root/thanos-store.service
diff options
context:
space:
mode:
authorCarsten Feuls2019-02-14 16:20:07 +0100
committerCarsten Feuls2019-02-14 16:20:07 +0100
commit04830907a7aac633f58011fc2b30a4dd4331481b (patch)
tree7df44650fec4823e994e71030b0589b65e61b936 /thanos-store.service
parent277f6ea8e978bd5e0ed33385b3acf1e67febfdc9 (diff)
downloadaur-04830907a7aac633f58011fc2b30a4dd4331481b.tar.gz
Rewrite Config Files an add separat Systemd Service for every part
Diffstat (limited to 'thanos-store.service')
-rw-r--r--thanos-store.service50
1 files changed, 50 insertions, 0 deletions
diff --git a/thanos-store.service b/thanos-store.service
new file mode 100644
index 000000000000..2f41002775fc
--- /dev/null
+++ b/thanos-store.service
@@ -0,0 +1,50 @@
+[Unit]
+Description=Thanos Store node giving access to blocks in a bucket provider.
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=thanos
+Group=thanos
+Restart=on-failure
+EnvironmentFile=-/etc/thanos/store.conf
+ExecStart=/usr/bin/thanos store \
+ $LOG_LEVEL \
+ $LOG_FORMAT \
+ $GCLOUDTRACE_PROJECT \
+ $GCLOUDTRACE_SAMPLE \
+ $GRPC_ADDRESS \
+ $GRPC_ADVERTISE_ADDRESS \
+ $GRPC_SERVER_TLS_CERT \
+ $GRPC_SERVER_TLS_KEY \
+ $GRPC_SERVER_TLS_CLIENT_CA \
+ $HTTP_ADDRESS \
+ $CLUSTER_ADDRESS \
+ $CLUSTER_ADVERTISE_ADDRESS \
+ $CLUSTER_PEERS \
+ $CLUSTER_GOSSIP_INTERVAL \
+ $CLUSTER_PUSHPULL_INTERVAL \
+ $CLUSTER_REFRESH_INTERVAL \
+ $CLUSTER_SECRET_KEY \
+ $CLUSTER_NETWORK_TYPE \
+ $CLUSTER_DISABLE \
+ $PROMETHEUS_URL \
+ $TSDB_PATH \
+ $RELOADER_CONFIG \
+ $RELOADER_CONFIG_ENVSUBST_FILE \
+ $RELOADER_RULE_DIR \
+ $OBJSTORE_CONFIG_FILE \
+ $OBJSTORE_CONFIG \
+ $DATA_DIR \
+ $INDEX_CACHE \
+ $CHUNK_POOL_SIZE \
+ $OBJSTORE_CONFIG_FILE \
+ $OBJSTORE_CONFIG \
+ $SYNC_BLOCK_DURATION \
+ $SYNC_BLOCK_CONCURRENCY
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
+
+