dotfiles/launchd/Library/LaunchAgents/witchcraft.plist

17 lines
495 B
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Applice//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>local.jdormit.witchcraft</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
<string>/usr/bin/python3 -m http.server -d $HOME/witchcraft-scripts 5743</string>
</array>
<key>KeepAlive</key>
<true/>
</dict>
</plist>