Skip to content

Instantly share code, notes, and snippets.

@bruienne
Last active November 3, 2023 23:04
Show Gist options
  • Save bruienne/7fb612c413216ccea86b to your computer and use it in GitHub Desktop.
Save bruienne/7fb612c413216ccea86b to your computer and use it in GitHub Desktop.
logout watcher LA
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.my.logoutwatcher</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/myorg/logoutwatcher.sh</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@kfattic
Copy link

kfattic commented Mar 3, 2016

Thanks for creating this. Looking forward to testing it on my latest lab image.

@rguy2001-zz
Copy link

How to initialize this immediately after logout?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment