1
discourse@fyps:~$ bluepill stop 
Error: There are no running bluepill daemons. 
To start a bluepill daemon, use: bluepill load  
discourse@fyps:~$ bluepill load 
/home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `exists?': no implicit conversion of nil into String (TypeError)
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/gems/bluepill-0.0.66/bin/bluepill:108:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `load'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/bluepill:23:in `'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
from /home/discourse/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `'

我想知道如何启动bluepill,谢谢!

4

1 回答 1

0

我喜欢这样:

$ /usr/local/rvm/bin/bootup_bluepill --no-privileged stop
$ /usr/local/rvm/bin/bootup_bluepill --no-privileged quit
$ RUBY_GC_MALLOC_LIMIT=90000000 RAILS_ROOT=/var/www/discourse RAILS_ENV=production NUM_WEBS=2 /usr/local/rvm/bin/bootup_bluepill --no-privileged -c ~/.bluepill load /var/www/discourse/config/discourse.pill

您可以从此命令的输出中获得的最后一个命令:

$ crontab -l

如果您使用INSTALL-ubuntu.md安装话语,这将起作用

于 2014-01-09T15:52:56.187 回答