Displaying 7 results from an estimated 7 matches for "successfulexit".
2017 Jun 12
4
Apple Mac slave
On Jun 11, 2017, at 7:15 AM, Robbie van der Walle <rvanderwalle at gmail.com> wrote:
>
> I see only a reboot. Not a shutdown. But is this normal because shutdown -u -h +0 is used?
>
To be honest, I haven't experimented much with this, but I saw a normal shutdown/reboot when I just tried this from the command line (10.12):
reboot ~ Mon Jun 12 08:36
2017 Jun 15
1
Apple Mac slave
Ok rebooted
All running ok now. Great thanks a lot!
In system.log
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Unknown key for Boolean: SuccessfulExit
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): This service is defined to be constantly running and is inherently inefficient.
What is the purpose of Boolean: SuccessfulExit?
>>> I did have to fiddle with permissions of config files - Fink currently builds N...
2017 Jun 15
2
Apple Mac slave
I deleted the plist file and rebooted:
sudo /sw/sbin/upsmon -D
Network UPS Tools upsmon 2.7.4
0.000000 fopen /sw/var/run/upsmon.pid: No such file or directory
0.044649 UPS: ups at ip address (slave) (power value 1)
0.081597 Using power down flag file /etc/killpower
0.162720 debug level is '1'
0.538410 Trying to connect to UPS [ups at ip address]
0.540345 Logged into UPS
2017 Jun 15
0
Apple Mac slave
...<string>/sw/sbin/upsmon</string>
> <string>-D</string> <!-- "-D" keeps upsmon from going into the background -->
> </array>
> <key>KeepAlive</key>
> <true/>
> <key>SuccessfulExit</key>
> <false/> <!-- Do not respawn at shutdown time -->
> </dict>
> </plist>
>
>
> sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist
>
> Doesn?t return an error. But when I check of upsmon is running I don?...
2017 Jun 15
2
Apple Mac slave
.../sbin/upsmon</string>
>> <string>-D</string> <!-- "-D" keeps upsmon from going into the background -->
>> </array>
>> <key>KeepAlive</key>
>> <true/>
>> <key>SuccessfulExit</key>
>> <false/> <!-- Do not respawn at shutdown time -->
>> </dict>
>> </plist>
>>
>>
>> sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist
>>
>> Doesn?t return an error. But when I c...
2017 Jun 15
0
Apple Mac slave
Ok did it again from scratch.
I used the same plist file.
sudo launchctl load /Library/LaunchDaemons/org.networkupstools.upsmon.plist
Doesn?t return an error:
system.log:
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): Unknown key for Boolean: SuccessfulExit
Jun 15 21:38:54 c01 com.apple.xpc.launchd[1] (org.networkupstools.upsmon): This service is defined to be constantly running and is inherently inefficient.
sudo launchctl list|fgrep -v com.app
PID Status Label
?
1266 0 org.networkupstools.upsmon
ps -ef |grep upsmon
0 1266 1 0 9:...
2017 Jun 14
0
Apple Mac slave
...t;
<string>-D</string> <!-- "-D" keeps upsmon from going into the background -->
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/> <!-- Do not respawn at shutdown time -->
<dict/>
</dict>
</plist>
Kind Regards,
Rob
> On 12 Jun 2017, at 14:42, Charles Lepple <clepple at gmail.com> wrote:
>
> On Jun 11, 2017, at 7:15 AM, Robbie van d...