blob: c8616b769e14a9ec10b9ab63299499c9df167668 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Thanos for Prometheus
Requires=network-online.target
After=network-online.target
[Service]
User=thanos
Group=thanos
Restart=on-failure
EnvironmentFile=-/etc/conf.d/thanos
ExecStart=/usr/bin/thanos $THANOS_ARGS $CLUSTER_ARGS
ExecReload=/bin/kill -HUP $MAINPID
NoNewPrivileges=true
ProtectHome=true
ProtectSystem=strict
[Install]
WantedBy=multi-user.target
|