gitlab-ctl stop/start/restart/status handles only the first service
<!--- Please read this! Before you create a new issue, please make sure that you already ran `sudo gitlab-ctl reconfigure` Also make sure to search in https://gitlab.com/gitlab-org/omnibus-gitlab/issues, to verify the issue you're about to submit isn't a duplicate. ---> ### Summary When calling gitlab-ctl stop/start/restart/status for multiple services, only the first one is handled. Based on some of the examples in [our docs](https://docs.gitlab.com/update/zero_downtime/#praefect-gitaly-cluster), it should be able to handle all the services it is called for. ### Steps to reproduce Run `gitlab-ctl status sidekiq puma` ### What is the current *bug* behavior? Only the first service is handled ```shell root@gitlab-2:/opt/gitlab/embedded/service# gitlab-ctl status sidekiq puma run: sidekiq: (pid 3382) 2528s; run: log: (pid 1352) 3125s root@gitlab-2:/opt/gitlab/embedded/service# ``` ### What is the expected *correct* behavior? All services should be handled. <!-- What you should see instead --> ### Relevant logs <details> <summary> Relevant logs </summary> <pre> <!-- Paste any relevant logs. Live log output can be found with `sudo gitlab-ctl tail`. Log files live in `/var/log/gitlab` by default. --> </pre> </details> ### Details of package version <details> <summary>Provide the package version installation details</summary> <pre> <!-- For Debian, Ubuntu based systems, paste the output of: `dpkg-query -l "gitlab-*"` For RHEL based systems (CentOS, RHEL, OL, Scientific, OpenSUSE, SLES), paste the output of: `rpm -qa | grep 'gitlab'` If you can't provide these details, see https://about.gitlab.com/getting-help/ page on where to ask your question. --> </pre> </details> ### Environment details * Operating System: `REPLACE-WITH-DETAILS` * Installation Target, remove incorrect values: * Bare Metal Machine * VM: Digital Ocean, AWS, GCP, Azure, Other `REPLACE-WITH-DETAILS` * Other: `REPLACE-WITH-DETAILS` * Installation Type, remove incorrect values: * New Installation * Upgrade from version `REPLACE-WITH-DETAILS` * Other: `REPLACE-WITH-DETAILS` * Is there any other software running on the machine: `REPLACE-WITH-DETAILS` * Is this a single or multiple node installation? * Resources * CPU: `REPLACE-WITH-DETAILS` * Memory total: `REPLACE-WITH-DETAILS` ### Configuration details <details> <summary> Provide the relevant sections of `/etc/gitlab/gitlab.rb` </summary> <pre> <!-- Paste the details but omit lines starting with `#`. Relevant lines can be retrieved by running `grep -v -e '^#' -e '^$' /etc/gitlab/gitlab.rb`. Be certain to sanitize sensitive configuration such as passwords and secrets. --> </pre> </details>
issue