Created
March 28, 2011 11:46
-
-
Save nickyp/890331 to your computer and use it in GitHub Desktop.
LaunchCtl to Major Tom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
launchctl list | |
launchtl load /Library/LaunchDaemons/org.redis.redis-server.plist | |
launchctl reload /Library/LaunchDaemons/org.redis.redis-server.plist | |
launchctl stop /Library/LaunchDaemons/org.redis.redis-server.plist | |
launchctl restart /Library/LaunchDaemons/org.redis.redis-server.plist | |
launchctl unload -w org.darwinports.postgresql84 sudo launchctl load -w org.darwinports.postgresql84 | |
launchctl unload -w org.darwinports.postgresql84 sudo launchctl load -w org.darwinports.postgresql84 | |
launchctl unload -w org.macports.postgresql84-server sudo launchctl load -w org.macports.postgresql84-server | |
launchctl unload -w org.macports.postgresql84-server sudo launchctl load -w org.macports.postgresql84-server | |
launchctl unload -w org.macports.postgresql84-server.plist sudo launchctl load -w org.macports.postgresql84-server.plist | |
launchctl unload -w org.macports.postgresql84-server.plist ;sudo launchctl load -w org.macports.postgresql84-server.plist | |
launchctl unload org.mongodb.mongod | |
launchctl unload /Library/LaunchDaemons/org.mongodb.mongod | |
launchctl unload /Library/LaunchDaemons/org.mongodb.mongod.plist | |
launchctl stop org.mongodb.mongod | |
launchctl load /Library/LaunchDaemons/org.mongodb.mongod.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment