Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Ind.ie Projects
Waystone
Commits
c5476c3b
Unverified
Commit
c5476c3b
authored
Aug 15, 2015
by
Aral Balkan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed __start-deployment-server script.
#55
.
parent
c0a8a3a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
__start-deployment-server
__start-deployment-server
+1
-1
No files found.
__start-deployment-server
View file @
c5476c3b
...
...
@@ -61,7 +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.
sudo
echo
$WAYSTONE_PORT
| xargs
-I
{}
sh
-c
"sed -e 's/SERVICE_ADDR/localhost:{}/' /home/git/waystone.template > /etc/nginx/sites-available/waystone"
--
{}
echo
$WAYSTONE_PORT
| xargs
-I
{}
sh
-c
"sed -e 's/SERVICE_ADDR/localhost:{}/' /home/git/waystone.template > /etc/nginx/sites-available/waystone"
--
{}
# Reload nginx
echo
"[DEPLOY] Restarting 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