Don't fail post-install configuration if gunicorn won't stop
This commit is contained in:
2
rakefile
2
rakefile
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user