scripts/resque.rb in standup-0.3.25 vs scripts/resque.rb in standup-0.3.26
- old
+ new
@@ -1,7 +1,7 @@
Standup.script :node do
def run
- scripts.redis.install_from_resque unless sudo('find /etc/init.d/redis-server').match(/No such file or directory/).present?
+ scripts.redis.install_from_resque if sudo('find /etc/init.d/redis-server').match(/No such file or directory/).present?
path_to_resque_exec = "#{scripts.webapp.app_path}/script/resque"
upload script_file('resque'),
:to => path_to_resque_exec,
:sudo => true
\ No newline at end of file