Commit 70e80d95a78460e307145730e8f6e554fe91a03e
1 parent
8f52501e
Exists in
master
and in
4 other branches
When stopped correctly there should be no warning about a missing socket file.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/support/init.d/gitlab
... | ... | @@ -51,7 +51,7 @@ start() { |
51 | 51 | exit 1 |
52 | 52 | else |
53 | 53 | if [ `whoami` = root ]; then |
54 | - execute "rm $SOCKET_PATH/gitlab.socket" | |
54 | + execute "rm -f $SOCKET_PATH/gitlab.socket" | |
55 | 55 | execute "RAILS_ENV=production bundle exec puma $DAEMON_OPTS" |
56 | 56 | execute "mkdir -p $PID_PATH && $START_SIDEKIQ > /dev/null 2>&1 &" |
57 | 57 | echo "$DESC started" | ... | ... |