Consistent rails_socket use.

This commit is contained in:
fbretel 2016-01-25 13:19:27 +00:00
parent 0f13933175
commit 5287da7412
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ start_gitlab() {
echo "The Unicorn web server already running with pid $wpid, not restarting."
else
# Remove old socket if it exists
rm -f "$socket_path"/gitlab.socket 2>/dev/null
rm -f "$rails_socket" 2>/dev/null
# Start the web server
RAILS_ENV=$RAILS_ENV bin/web start
fi