summarylogtreecommitdiffstats
path: root/thanos-downsample.service
blob: bb5b62439c702ca757128d7c62b7a151c55b34f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Thanos Downsample continuously downsamples blocks in an object store bucket.
Requires=network-online.target
After=network-online.target

[Service]
User=thanos
Group=thanos
Restart=on-failure
EnvironmentFile=-/etc/thanos/downsample.conf
ExecStart=/usr/bin/thanos downsample \
                          $LOG_LEVEL \
                          $LOG_FORMAT \
                          $GCLOUDTRACE_PROJECT \
                          $GCLOUDTRACE_SAMPLE \
                          $DATA_DIR \
                          $OBJSTORE_CONFIG_FILE \
                          $OBJSTORE_CONFIG
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target