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

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

[Install]
WantedBy=multi-user.target