summarylogtreecommitdiffstats
path: root/smartctl_exporter.service
blob: 9c5040c9a22814f0c42dafbc83398b2b01f1a4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Prometheus smartctl exporter
After=network.target

[Service]
EnvironmentFile=-/etc/conf.d/smartctl_exporter
ExecStart=/usr/bin/smartctl_exporter $OPTIONS
Restart=always
User=root
Group=root

[Install]
WantedBy=multi-user.target