summarylogtreecommitdiffstats
path: root/prometheus-s3-exporter.service
blob: 3276869e8260b585e8727d58c33dc3595eba98b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Prometheus S3 exporter
After=network.target network-online.target basic.target
Wants=network-online.target
StartLimitIntervalSec=30
StartLimitBurst=3

[Service]
EnvironmentFile=-/etc/conf.d/prometheus-s3-exporter
ExecStart=/usr/bin/prometheus-s3-exporter $OPTIONS
Type=simple
Restart=on-failure
RestartSec=30
User=prometheus-s3-exporter
Group=prometheus-s3-exporter

[Install]
WantedBy=multi-user.target