capistrano-play 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano-play/deploy.rb +4 -4
- data/lib/capistrano-play/version.rb +1 -1
- metadata +1 -1
@@ -380,22 +380,22 @@ module Capistrano
|
|
380
380
|
|
381
381
|
desc("start play service")
|
382
382
|
task(:start, :roles => :app, :except => { :no_release => true }) {
|
383
|
-
find_and_execute_task("play:
|
383
|
+
find_and_execute_task("play:daemonize:#{play_daemonize_method}:start") if play_daemonize_method
|
384
384
|
}
|
385
385
|
|
386
386
|
desc("stop play service")
|
387
387
|
task(:stop, :roles => :app, :except => { :no_release => true }) {
|
388
|
-
find_and_execute_task("play:
|
388
|
+
find_and_execute_task("play:daemonize:#{play_daemonize_method}:stop") if play_daemonize_method
|
389
389
|
}
|
390
390
|
|
391
391
|
desc("restart play service")
|
392
392
|
task(:restart, :roles => :app, :except => { :no_release => true }) {
|
393
|
-
find_and_execute_task("play:
|
393
|
+
find_and_execute_task("play:daemonize:#{play_daemonize_method}:restart") if play_daemonize_method
|
394
394
|
}
|
395
395
|
|
396
396
|
desc("view play status")
|
397
397
|
task(:status, :roles => :app, :except => { :no_release => true }) {
|
398
|
-
find_and_execute_task("play:
|
398
|
+
find_and_execute_task("play:daemonize:#{play_daemonize_method}:status") if play_daemonize_method
|
399
399
|
}
|
400
400
|
|
401
401
|
desc("view play pid")
|