capistrano-django 0.0.3.a → 0.0.3.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/capistrano/django.rb +5 -2
  2. metadata +1 -1
@@ -8,7 +8,6 @@ Capistrano::Configuration.instance.load do
8
8
  set :normalize_asset_timestamps, false
9
9
 
10
10
  after :deploy, 'deploy:cleanup'
11
- after 'deploy:restart', 'django:restart'
12
11
  after 'deploy:update_code', 'nodejs:install_deps'
13
12
  after 'deploy:update_code', 'python:create_virtualenv'
14
13
  after 'python:create_virtualenv', 'python:install_deps'
@@ -68,7 +67,11 @@ Capistrano::Configuration.instance.load do
68
67
  run "ln -s #{current_release}/project/settings/#{django_env}.py #{current_release}/project/settings/deployed.py"
69
68
  end
70
69
 
71
- desc "Restart apache / celeryd / celerybeat"
70
+ end
71
+
72
+ namespace :deploy do
73
+
74
+ desc "Restart apache"
72
75
  task :restart do
73
76
  run "sudo apache2ctl graceful"
74
77
  run "sudo service celeryd-django restart"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-django
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.a
4
+ version: 0.0.3.pre
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: