beanstalkd:未知标志:-d

时间:2013-01-31 08:32:51

标签: ubuntu beanstalkd

我已经使用

安装了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

1 个答案:

答案 0 :(得分:2)

-d是为了让Beanstalkd成为后台的守护者,但这已被折旧,现在已被删除。

the BeanstalkD git repo中有一些示例用于使用通用系统工具将其作为服务运行。在Ubuntu上,你可能会使用' Upstart'例如,系统。