How could I set a nice indice on cap:deploy ? I want the remote server nice the cp commands like that : nice -n 19 cp ...
Thenk you
How could I set a nice indice on cap:deploy ? I want the remote server nice the cp commands like that : nice -n 19 cp ...
Thenk you
Not sure about cp. Don't you use an SCM?
I tried with my setup (I use subversion) and this seems to work. In deploy.rb, add:
set :scm_command, "nice -19 svn"
It seems somewhat more difficult if you don't use an SCM, you'll have to overload checkout() in deploy/scm/none.rb.