如何使用自制软件在前台启动 memcached?
How do I start memcached in the foreground with homebrew?
我用自制软件安装了 memcached,并希望在前台启动它以便与工头一起使用 gem。这可能吗?
没关系,我想通了。我现在 post 回答,因为我在别处找不到。
brew info memcached
在输出中查找如下内容:
Or, if you don't want/need a background service you can just run:
/usr/local/opt/memcached/bin/memcached
现在只需将此添加到您的工头 procfile 中:
memcached: /usr/local/opt/memcached/bin/memcached -vv
不要忘记添加 -vv
标志。
我用自制软件安装了 memcached,并希望在前台启动它以便与工头一起使用 gem。这可能吗?
没关系,我想通了。我现在 post 回答,因为我在别处找不到。
brew info memcached
在输出中查找如下内容:
Or, if you don't want/need a background service you can just run:
/usr/local/opt/memcached/bin/memcached
现在只需将此添加到您的工头 procfile 中:
memcached: /usr/local/opt/memcached/bin/memcached -vv
不要忘记添加 -vv
标志。