diff options
author | Sytse Sijbrandij <sytse@dosire.com> | 2013-06-12 21:30:13 +0200 |
---|---|---|
committer | Sytse Sijbrandij <sytse@dosire.com> | 2013-06-12 21:30:13 +0200 |
commit | 70e80d95a78460e307145730e8f6e554fe91a03e (patch) | |
tree | 706f5dbd29496df4ed98e90ff420189f5d92dc11 | |
parent | 8f52501eb579923a86f94efac8286f8897faec93 (diff) | |
download | gitlab-ce-70e80d95a78460e307145730e8f6e554fe91a03e.tar.gz |
When stopped correctly there should be no warning about a missing socket file.
-rw-r--r-- | lib/support/init.d/gitlab | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab index f4ca07b3676..bb0151d9335 100644 --- a/lib/support/init.d/gitlab +++ b/lib/support/init.d/gitlab @@ -51,7 +51,7 @@ start() { exit 1 else if [ `whoami` = root ]; then - execute "rm $SOCKET_PATH/gitlab.socket" + execute "rm -f $SOCKET_PATH/gitlab.socket" execute "RAILS_ENV=production bundle exec puma $DAEMON_OPTS" execute "mkdir -p $PID_PATH && $START_SIDEKIQ > /dev/null 2>&1 &" echo "$DESC started" |