add smartctl service
This commit is contained in:
1 parent
d06cff4cbd
commit
07bab58ae0
1 file changed
+12
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Prometheus Smartctl Exporter
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
ExecStart=/opt/smartctl_exporter/smartctl_exporter
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user