smartctl_exporter/systemd/smartctl_exporter.service
Горлов Максим de13d91241 systemd service
2019-08-15 00:04:32 +03:00

19 lines
362 B
Desktop File

[Unit]
Description=smartctl exporter service
After=network-online.target
[Service]
Type=simple
PIDFile=/run/smartctl_exporter.pid
ExecStart=/usr/bin/smartctl_exporter
User=root
Group=root
SyslogIdentifier=smartctl_exporter
Restart=on-failure
RemainAfterExit=no
RestartSec=100ms
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target