Don't fail post-install configuration if gunicorn won't stop

This commit is contained in:
Calen Pennington
2012-05-31 11:59:14 -04:00
parent 9fdbdd3b73
commit f467134fc5

View File

@@ -80,7 +80,7 @@ task :package do
chown -R makeitso:makeitso #{INSTALL_DIR_PATH}
chmod +x #{INSTALL_DIR_PATH}/collect_static_resources
service gunicorn stop
service gunicorn stop || echo "Unable to stop gunicorn. Continuing"
rm -f #{LINK_PATH}
ln -s #{INSTALL_DIR_PATH} #{LINK_PATH}
chown makeitso:makeitso #{LINK_PATH}