<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Jun 14, 2017, at 1:54 PM, Robbie van der Walle <<a href="mailto:rvanderwalle@gmail.com" class="">rvanderwalle@gmail.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><span class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><?xml version="1.0" encoding="UTF-8"?><br class=""><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "<a href="http://www.apple.com/DTDs/PropertyList-1.0.dtd" class="">http://www.apple.com/DTDs/PropertyList-1.0.dtd</a>"><br class=""><plist version="1.0"><br class=""><dict><br class="">        <key>Label</key><br class="">        <string>org.networkupstools.upsmon</string><br class="">        <key>RunAtLoad</key><br class="">        <true/><br class="">        <key>ProgramArguments</key><br class="">        <array><br class="">                <string>/sw/sbin/upsmon</string><br class="">                <string>-D</string> <!-- "-D" keeps upsmon from going into the background --><br class="">        </array><br class="">        <key>KeepAlive</key><br class="">        <true/><br class="">        <key>SuccessfulExit</key><br class="">        <false/> <!-- Do not respawn at shutdown time --><br class=""></dict><br class=""></plist><br class=""></span><span class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><br class=""></span><span class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist<br class=""></span><span class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></span><span class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Doesn’t return an error. But when I check of upsmon is running I don’t see it running. </span><br class="Apple-interchange-newline"></div></blockquote></div><br class=""><div class="">This works for me on 10.12.5. (There is a warning that SuccessfulExit is an "unknown key" from launchd.)</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">$ sudo launchctl list|fgrep -v com.app</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">PID     Status  Label</span></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class="">...</div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class="">8981    0       org.networkupstools.upsmon</div></div><div style="margin: 0px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class="">...</div><div class=""><br class=""></div><div class="">Does anything for upsmon show up in system.log in Console.app?</div></body></html>