Updated deployment script.

parent 59c60225
......@@ -61,6 +61,7 @@ if [ -f /etc/init.d/nginx ]; then
# Otherwise re-write and restart nginx.
echo "[DEPLOY] Rewriting nginx config with new port."
# Write out new nginx template to default available site.
id
echo $WAYSTONE_PORT | xargs -I{} sh -c "sed -e 's/SERVICE_ADDR/localhost:{}/' /home/git/waystone.template > /etc/nginx/sites-available/waystone" -- {}
# Reload nginx
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment