#1081 closed enhancement (fixed)
smartd.service: Add support for Type=notify
Reported by: | Christian Franke | Owned by: | Christian Franke |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.0 |
Component: | smartd | Version: | 6.6 |
Keywords: | linux | Cc: |
Description
Add support to notify systemd about success/failure of smartd startup via sd_notify(3).
For example:
// On success: sd_notifyf(0, "READY=1\n" "STATUS=Monitoring %d ATA/SATA, %d SCSI/SAS and %d NVMe devices\n" "MAINPID=%lu", ... ); // On failure: sd_notifyf(0, "STATUS=Error in configuration file");
See also ticket #1080.
Change History (3)
comment:1 by , 6 years ago
Milestone: | undecided → Release 6.7 |
---|---|
Owner: | set to |
Status: | new → accepted |
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
r4784.