Repo archived. If you need something similar: https://github.com/joncrain/dynamic_dock
Manages dock for a specified account. I recommend using this with Outset and Munki (Outset for launching files as needed, Munki for hosting the docksetup
files as it's web server requirements mirror the ones here)
Article explaining this tool: https://wardsparadox.github.io/2017/05/dock-maintainer-defined/
SSTP Install Guide: Install Guide.md
**Please file an issue if you have issues. I am not the best of programmers.
Edge Case: When running this utility if you update the plist on the computer or manually modify the dock. Things may not work as intended if either of those options are used.
dock-maintainer.py
needs to run as a user. I recommend using Outset but I have included launchctl
files for the appropriate files in the right zones.
dock-maintainer-updater.py
needs to run as root. This is due to storing the server copy file in the AllUsers Library (/Library
) as well as logs.
- Deploy
dock-maintainer.py
to/usr/local/outset/login-every
- Deploy
dock-maintainer-updater.py
to/usr/local/outset/boot-every
chmod 755 /path/to/files/above && chown root:wheel /path/to/files/above
- Clap your hands with a job well done! 👏🏻
- Deploy both files to:
/usr/local/bin/dock-maintainer
chmod -R 755 /usr/local/bin/dock-maintainer && chown -R root:wheel /usr/local/bin/dock-maintainer
- Deploy the LaunchAgent and LaunchDaemon included or write your own
- Go contemplate why you don't use Outset. 😡 (I jest!😛)
I recommend using Munki-Pkg with both scenarios above!
domain: com.github.wardsparadox.dock-maintainer ManagedUser - Which user to run for ServerURL - path to web server folder holding all plists for user
{
ManagedUser = "student";
ServerURL = "http://example.com/munki_repo/docksetups";
}