scripts/webapp.rb in standup-0.3.5 vs scripts/webapp.rb in standup-0.3.6

- old
+ new

@@ -19,18 +19,13 @@ exec 'rm -rf /opt/webapp/*' exec "git clone git@github.com:#{params.github_user}/#{params.github_repo}.git /opt/webapp" end bootstrap_db - - remote_update '/opt/nginx/conf/nginx.conf', - File.read(script_file('nginx-server-fragment.conf')), - :delimiter => '# standup place server fragments here', - :sudo => true - + sudo 'chown -R nobody:nogroup /opt/webapp' - scripts.passenger.restart_nginx + scripts.passenger.add_server_conf script_file('webapp.conf') end protected def ensure_github_access