Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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:

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 Christian Franke, 6 years ago

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

comment:2 by Christian Franke, 6 years ago

Resolution: fixed
Status: acceptedclosed

comment:3 by Christian Franke, 6 years ago

Milestone: Release 6.7Release 7.0

Milestone renamed

Note: See TracTickets for help on using tickets.