0
我試圖通過運行下面的命令(在Ubuntu 12.04),以守護進程rake任務開始耙任務,守護
start-stop-daemon -S --pidfile /home/dep/apps/fid/current/tmp/pids/que.pid
-u dep -d /home/dep/apps/fid/current -b -m
-a "bundle exec rake que:work RAILS_ENV=staging > /home/dep/apps/fid/current/log/que.log 2>&1"
-v
控制檯說
Starting bundle exec rake que:work RAILS_ENV=staging > /home/dep/apps/fid/current/log/que.log 2>&1...
Detaching to start bundle exec rake que:work RAILS_ENV=staging > /home/dep/apps/fid/current/log/que.log 2>&1...done.
,但沒有發生。
pid文件是空的,沒有創建日誌文件。
我在這裏錯過了什麼嗎?
謝謝。