Skip to content
This repository has been archived by the owner on May 30, 2018. It is now read-only.

Commit

Permalink
send SIGTERM to osqueryd before unloading (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
groob committed Feb 14, 2017
1 parent d72f917 commit eebd1b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions enrollment/mac/scripts/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[[ $3 != "/" ]] && exit 0

/bin/launchctl stop co.kolide.osquery.enroll
sleep 5
/bin/launchctl unload /Library/LaunchDaemons/co.kolide.osquery.enroll.plist
/bin/launchctl load /Library/LaunchDaemons/co.kolide.osquery.enroll.plist

Expand Down

0 comments on commit eebd1b9

Please sign in to comment.