lib/unicap/tasks/unicap.rake in unicap-0.0.1 vs lib/unicap/tasks/unicap.rake in unicap-0.0.2

- old
+ new

@@ -45,10 +45,12 @@ task :start do on roles(fetch(:unicorn_roles)) do if pid_exists? && pid_running? info 'Unicorn is running ...' else - remove_pid if pid_exists? + if pid_exists? + remove_pid + end start_unicorn end end end