Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ind.ie Projects
Waystone
Commits
2783c363
Unverified
Commit
2783c363
authored
Aug 15, 2015
by
Aral Balkan
Browse files
Updated deployment script.
parent
59c60225
Changes
1
Hide whitespace changes
Inline
Side-by-side
__start-deployment-server
View file @
2783c363
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment