Search code examples
phpmemcached

macports memcached restart Mac OS X


I installed memcached using mac ports:

http://glassonionblog.wordpress.com/2012/02/18/installing-memcached-on-mac-os-x-snow-leopard/

I am able to start memcache but I cannot figure out how to restart it.

I started it by doing: memcached -d


Solution

  • sudo launchctl unload /opt/local/etc/LaunchDaemons/org.macports.memcached/org.macports.memcached.plist

    sudo launchctl load /opt/local/etc/LaunchDaemons/org.macports.memcached/org.macports.memcached.plist