Skip to content

Commit c73bf28

Browse files
committed
Replace gitlab-workhorse with GitLab Workhorse where appropriate
1 parent 872e854 commit c73bf28

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/support/init.d/gitlab

+6-6
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ check_stale_pids(){
173173
fi
174174
fi
175175
if [ "$hpid" != "0" ] && [ "$gitlab_workhorse_status" != "0" ]; then
176-
echo "Removing stale gitlab-workhorse pid. This is most likely caused by gitlab-workhorse crashing the last time it ran."
176+
echo "Removing stale GitLab Workhorse pid. This is most likely caused by GitLab Workhorse crashing the last time it ran."
177177
if ! rm "$gitlab_workhorse_pid_path"; then
178178
echo "Unable to remove stale pid, exiting"
179179
exit 1
@@ -208,7 +208,7 @@ start_gitlab() {
208208
echo "Starting GitLab Sidekiq"
209209
fi
210210
if [ "$gitlab_workhorse_status" != "0" ]; then
211-
echo "Starting gitlab-workhorse"
211+
echo "Starting GitLab Workhorse"
212212
fi
213213
if [ "$mail_room_enabled" = true ] && [ "$mail_room_status" != "0" ]; then
214214
echo "Starting GitLab MailRoom"
@@ -232,7 +232,7 @@ start_gitlab() {
232232
fi
233233

234234
if [ "$gitlab_workhorse_status" = "0" ]; then
235-
echo "The gitlab-workhorse is already running with pid $spid, not restarting"
235+
echo "The GitLab Workhorse is already running with pid $spid, not restarting"
236236
else
237237
# No need to remove a socket, gitlab-workhorse does this itself.
238238
# Because gitlab-workhorse has multiple executables we need to fix
@@ -271,7 +271,7 @@ stop_gitlab() {
271271
RAILS_ENV=$RAILS_ENV bin/background_jobs stop
272272
fi
273273
if [ "$gitlab_workhorse_status" = "0" ]; then
274-
echo "Shutting down gitlab-workhorse"
274+
echo "Shutting down GitLab Workhorse"
275275
kill -- $(cat $gitlab_workhorse_pid_path)
276276
fi
277277
if [ "$mail_room_enabled" = true ] && [ "$mail_room_status" = "0" ]; then
@@ -320,9 +320,9 @@ print_status() {
320320
printf "The GitLab Sidekiq job dispatcher is \033[31mnot running\033[0m.\n"
321321
fi
322322
if [ "$gitlab_workhorse_status" = "0" ]; then
323-
echo "The gitlab-workhorse with pid $hpid is running."
323+
echo "The GitLab Workhorse with pid $hpid is running."
324324
else
325-
printf "The gitlab-workhorse is \033[31mnot running\033[0m.\n"
325+
printf "The GitLab Workhorse is \033[31mnot running\033[0m.\n"
326326
fi
327327
if [ "$mail_room_enabled" = true ]; then
328328
if [ "$mail_room_status" = "0" ]; then

0 commit comments

Comments
 (0)