Skip to content

Instantly share code, notes, and snippets.

@bsmartt13
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsmartt13/9176598 to your computer and use it in GitHub Desktop.
Save bsmartt13/9176598 to your computer and use it in GitHub Desktop.
Setting up MIDAS as a daemon
# Move the file to system wide LaunchDaemons. This location instructs the system to run it as root (required for MIDAS).
ninja:MIDAS bsmartt$ sudo cp alienvault_integration/com.labs.alienvault.midas.cron.plist /System/Library/LaunchDaemons/
# Load the plist file
ninja:MIDAS bsmartt$ sudo launchctl load /System/Library/LaunchDaemons/com.labs.alienvault.midas.cron.plist
# To uninstall:
ninja:MIDAS bsmartt$ sudo launchctl unload /System/Library/LaunchDaemons/com.labs.alienvault.midas.cron.plist
ninja:MIDAS bsmartt$ sudo rm -rf /System/Library/LaunchDaemons/com.labs.alienvault.midas.cron.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment