Skip to content
Snippets Groups Projects
Commit 780bac10 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Be more defensive when running 'kill'

parent 90b1ecfa
No related branches found
No related tags found
1 merge request!1229Replace grack with gitlab-git-http-server
Pipeline #
Loading
Loading
@@ -270,7 +270,7 @@ stop_gitlab() {
fi
if [ "$gitlab_git_http_server_status" = "0" ]; then
echo "Shutting down gitlab-git-http-server"
kill $(cat $gitlab_git_http_server_pid_path)
kill -- $(cat $gitlab_git_http_server_pid_path)
fi
if [ "$mail_room_enabled" = true ] && [ "$mail_room_status" = "0" ]; then
echo "Shutting down GitLab MailRoom"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment