我已经使用以下命令安装了beanstalkd
sudo apt-get install beanstalkd 哪个安装了beanstalkd 1.7版
现在,为了启动beanstalkd进程,我使用以下命令
sudo beanstalkd -d -l 127.0.0.1 -p 11300 -z 1000000我得到了一个回应
beanstalkd: unknown flag: -d
Use: beanstalkd [OPTIONS]
Options:
-b DIR wal directory
-f MS fsync at most once every MS milliseconds (use -f0 for "always fsync")
-F never fsync (default)
-l ADDR listen on address (default is 0.0.0.0)
-p PORT listen on port (default is 11300)
-u USER become user and group
-z BYTES set the maximum job size in bytes (default is 65535)
-s BYTES set the size of each wal file (default is 10485760)
(will be rounded up to a multiple of 512 bytes)
-c compact the binlog (default)
-n do not compact the binlog
-v show version information
-V increase verbosity
-h show this help发布于 2013-01-31 18:15:54
-d是为了将Beanstalkd“守护”到后台,但它已经被贬低了,现在被删除了。
在the BeanstalkD git repo中有一些示例可以使用常见的系统工具将其作为服务运行。例如,在Ubuntu上,你可能会使用'Upstart‘系统。
https://stackoverflow.com/questions/14621430
复制相似问题