diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-08-21 17:24:17 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-08-21 17:25:33 +0100 |
commit | dcadc7654fe84b670e819054d25c10aaed9c7583 (patch) | |
tree | 40ba0ebad1765a0c31bcff6ae86d89bf729c71b8 | |
parent | 4590efa0bc3dcd8aac68b7c985f699990ec6db97 (diff) |
fixup! Use service for stop, start, restart
-rw-r--r-- | config/deploy.rb | 2 | ||||
-rw-r--r-- | doc/CHANGES.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 918ce5f8d..0c7fc14dc 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -37,7 +37,7 @@ namespace :deploy do [:start, :stop, :restart].each do |t| desc "#{t.to_s.capitalize} Alaveteli service defined in /etc/init.d/alaveteli" task t, :roles => :app, :except => { :no_release => true } do - run "service alaveteli #{t}" + run "/etc/init.d alaveteli #{t}" end end diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 399d99fe7..b906ea368 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -31,7 +31,7 @@ * The capistrano `stop`, `start` and `restart` tasks now restart the app server via the service `/etc/init.d/alaveteli`. If you're using capistrano for deployment, make sure `/etc/init.d/alaveteli` exists - and is current. You can create it using the template + and is current, and executable by the cap user. You can create it using the template `config/sysvinit-thin.ugly` or `config/sysvinit-passenger.ugly` as described in http://alaveteli.org/docs/installing/manual_install/#generate-alaveteli-service |