Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#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:


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 Changed 2 years ago by Christian Franke

Milestone: undecidedRelease 6.7
Owner: set to Christian Franke
Status: newaccepted

comment:2 Changed 2 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed

comment:3 Changed 21 months ago by Christian Franke

Milestone: Release 6.7Release 7.0

Milestone renamed

Note: See TracTickets for help on using tickets.