Reputation: 9047
How to find the location of the installed Memcached server on mac, which is installed using the MacPorts tool?
I want to restart the Memcache server, in verbose mode.
This Memcache server is automatically getting restarted, even though I killed it.
Upvotes: 0
Views: 1182
Reputation: 2998
Memcached from MacPorts installs a launchd plist file. If that is loaded, launchd will always restart memcached when it notices it is terminated (this is default launchd behavior).
Use sudo port load memcached
/sudo port unload memcached
to activate/deactive this launchd plist.
If the plist is unloaded, you can manually start memcached using the binary. You can find the binary using port contents memcached | grep -E /s?bin/
.
Upvotes: 1