Add launchdaemon for app_usage_monitor; add build of app_usage package to make_munki_mpkg.sh

This commit is contained in:
Greg Neagle
2017-02-16 09:12:40 -08:00
parent 157475ec3c
commit 93323112bb
4 changed files with 81 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# only do this if we are installing to current startup volume
if [ "$3" == "/" ]; then
#(re-)load our LaunchDaemon
/bin/launchctl unload /Library/LaunchDaemons/com.googlecode.munki.app_usage_monitor.plist
/bin/launchctl load /Library/LaunchDaemons/com.googlecode.munki.app_usage_monitor.plist
fi