infra/roles/hypervisor/templates/smartctl_exporter.service

13 lines
220 B
SYSTEMD
Raw Normal View History

2024-08-05 07:19:14 +00:00
[Unit]
Description=smartctl prometheus exporter
After=network.target
[Service]
Type=simple
2024-08-05 07:47:27 +00:00
ExecStart=/usr/local/bin/smartctl_exporter --log.level=error
2024-08-05 07:19:14 +00:00
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target