diff options
-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" |