Displaying 1 result from an estimated 1 matches for "davidlballeng".
Did you mean:
davidlballenger
2012 Jul 10
2
Refresh not working with launchd service provider?
...to trap on TERM signals, according to Apple''s launchd docs:
#
trap ''exit 1'' 15
syslog -s -l 1 example.sh: Starting...
while true; do
sleep 15
syslog -s -l 1 example.sh: Still running...
done
Here''s the launchd plist.
/Library/LaunchDaemons/net.davidlballenger.example.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepA...