cap_unicorn 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/cap_unicorn/recipes.rb +2 -0
  2. metadata +4 -4
@@ -13,12 +13,14 @@ Capistrano::Configuration.instance(:must_exist).load do
13
13
  run "unicorn_rails -D -E #{rails_env} -c #{current_path}/config/unicorn/#{rails_env}.rb"
14
14
  end
15
15
 
16
+ desc "Restart unicorn"
16
17
  task :restart do
17
18
  if pid = master_pid
18
19
  run "kill -s USR2 #{pid}"
19
20
  end
20
21
  end
21
22
 
23
+ desc "Stop unicorn"
22
24
  task :stop do
23
25
  if pid = master_pid
24
26
  run "kill -s TERM #{pid}"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap_unicorn
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Scott Taylor
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-29 00:00:00 -04:00
18
+ date: 2010-07-14 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies: []
21
21