<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">On Jun 14, 2017, at 9:12 AM, 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=""><div 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;"><span class="">But I cannot load it with the command: <br class=""></span><span class=""><br class=""></span><span class="">$ sudo launchctl load /Library/LaunchAgents/com.networkupstools.upsmon.plist</span></div><div 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;"><span class=""><br class=""></span></div><span 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; float: none; display: inline !important;" class="">/Library/LaunchAgents/com.networkupstools.upsmon.plist:<span class="Apple-converted-space"> </span></span><b class="" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Invalid property list</b><br 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="" 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;"></div></blockquote></div><br class=""><div class="">I will try to look into this later, but three quick things:</div><div class=""><br class=""></div><div class="">1) does the base filename need to match the Label key? <b class="">com</b>.network... vs <b class="">org</b>.network...</div><div class=""><br class=""></div><div class="">2) maybe it doesn't like the comments (between "<!--" and "-->")?</div><div class=""><br class=""></div><div class="">3) should only need to go in /Library/LaunchDaemons  (LaunchAgents is to make it run at login, rather than system startup.)</div></body></html>