summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfbretel <foudil.bretel@cc.in2p3.fr>2016-01-25 13:19:27 +0000
committerfbretel <foudil.bretel@cc.in2p3.fr>2016-01-25 13:19:27 +0000
commit5287da7412e01ac1508bd15bec5bae7c3a0afa1b (patch)
tree616e6667fc81a48c4fd90bd762989234e744b03b
parent0f13933175fc5ce4d906bb516a17437aa3fd1e28 (diff)
downloadgitlab-ce-5287da7412e01ac1508bd15bec5bae7c3a0afa1b.tar.gz
Consistent rails_socket use.
-rwxr-xr-xlib/support/init.d/gitlab2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab
index 1633891c8a0..9e90a99f15b 100755
--- a/lib/support/init.d/gitlab
+++ b/lib/support/init.d/gitlab
@@ -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