Here on campus we us an emergency notification product called NetSupport Notify http://www.netsupportnotify.com. It works fine on 10.9.5, however on 10.10.x it will not run. I let the company know, but they have no plans to fix it anytime soon. Before I entirely gave up I toyed around with the components of the app. If I open the GUI notifier (that sits in the menu bar) and open the notifier daemon as root in that order the app works just fine.
So I scripted the launch to run at start up as such:
#!/bin/sh
#opens the nsn-message.app
open /Library/NSNotifyAgent/gui/message/message.app
#pause to have the .app open and ready for daemon
sleep 5
#runs the notifydaemon
/Library/NSNotifyAgent/daemon/notifydaemon
This works if I run it via ARD after a fresh boot. However, if I make it a JSS policy that is no go because opening the notifydaemon never "completes" (screen shot of terminal command line attached to illustrate).
Fine; not a big deal. However, this ties up the JSS distribution point so the user could not use Self Service later. I thought about writing a timeout into the shell script before the "sudo /Library/NSNotifyAgent/daemon/notifydaemon" line, however the Mac does not have a timeout command like I have used on Ubuntu in the past.
Any ideas about how to launch the notifydaemon without a stalled policy would be welcome. launchctl or a launchd maybe?
I apologize in advance for my lack of scripting and command line skill. Thanks for your time.
