]> granicus.if.org Git - zfs/commit
Add support for Pushbullet notifications
authorChris Dunlap <cdunlap@llnl.gov>
Fri, 27 Feb 2015 00:26:48 +0000 (16:26 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 27 Apr 2015 19:08:08 +0000 (12:08 -0700)
commita0d065fa922d2ce2e07785eb3d35757763c644bf
tree150b18e6857c67a384a30886db1f97281bdca31c
parent20967ff1a4c2ff3f706505222dd66b3b15645596
Add support for Pushbullet notifications

This commit adds the zed_notify_pushbullet() function and hooks
it into zed_notify(), thereby integrating it with the existing
"notify" ZEDLETs.  This enables ZED to push notifications to your
desktop computer and/or mobile device(s).  It is configured with the
ZED_PUSHBULLET_ACCESS_TOKEN and ZED_PUSHBULLET_CHANNEL_TAG variables
in zed.rc.

  https://www.pushbullet.com/

The Makefile install-data-local target has been replaced with
install-data-hook.  With the "-local" target, there is no particular
guarantee of execution order.  But with the zed.rc now potentially
containing sensitive information (i.e., the Pushbullet access token),
the recommended permissions have changed to 0600.  The "-hook" target
is always executed after the main rule's work is done; thus, the
chmod will always take place after the zed.rc file has been installed.

  https://www.gnu.org/software/automake/manual/automake.html#Extending

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
cmd/zed/Makefile.am
cmd/zed/zed.d/zed-functions.sh
cmd/zed/zed.d/zed.rc