Skip to content

Commit 9c893af

Browse files
committed
Fix spelling of "it's" to "its" where appropriate.
1 parent c75ac82 commit 9c893af

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/support/init.d/gitlab

+5-5
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ check_pids(){
9292

9393
## Called when we have started the two processes and are waiting for their pid files.
9494
wait_for_pids(){
95-
# We are sleeping a bit here mostly because sidekiq is slow at writing it's pid
95+
# We are sleeping a bit here mostly because sidekiq is slow at writing its pid
9696
i=0;
9797
while [ ! -f $web_server_pid_path ] || [ ! -f $sidekiq_pid_path ] || [ ! -f $gitlab_workhorse_pid_path ] || { [ "$mail_room_enabled" = true ] && [ ! -f $mail_room_pid_path ]; }; do
9898
sleep 0.1;
@@ -108,7 +108,7 @@ wait_for_pids(){
108108
}
109109

110110
# We use the pids in so many parts of the script it makes sense to always check them.
111-
# Only after start() is run should the pids change. Sidekiq sets it's own pid.
111+
# Only after start() is run should the pids change. Sidekiq sets its own pid.
112112
check_pids
113113

114114

@@ -290,7 +290,7 @@ stop_gitlab() {
290290
sleep 1
291291
# Cleaning up unused pids
292292
rm "$web_server_pid_path" 2>/dev/null
293-
# rm "$sidekiq_pid_path" 2>/dev/null # Sidekiq seems to be cleaning up it's own pid.
293+
# rm "$sidekiq_pid_path" 2>/dev/null # Sidekiq seems to be cleaning up its own pid.
294294
rm -f "$gitlab_workhorse_pid_path"
295295
if [ "$mail_room_enabled" = true ]; then
296296
rm "$mail_room_pid_path" 2>/dev/null
@@ -299,7 +299,7 @@ stop_gitlab() {
299299
print_status
300300
}
301301

302-
## Prints the status of GitLab and it's components.
302+
## Prints the status of GitLab and its components.
303303
print_status() {
304304
check_status
305305
if [ "$web_status" != "0" ] && [ "$sidekiq_status" != "0" ] && [ "$gitlab_workhorse_status" != "0" ] && { [ "$mail_room_enabled" != true ] || [ "$mail_room_status" != "0" ]; }; then
@@ -333,7 +333,7 @@ print_status() {
333333
fi
334334
}
335335

336-
## Tells unicorn to reload it's config and Sidekiq to restart
336+
## Tells unicorn to reload its config and Sidekiq to restart
337337
reload_gitlab(){
338338
exit_if_not_running
339339
if [ "$wpid" = "0" ];then

lib/support/init.d/gitlab.default.example

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ RAILS_ENV="production"
99
# The default is "git".
1010
app_user="git"
1111

12-
# app_root defines the folder in which gitlab and it's components are installed.
12+
# app_root defines the folder in which gitlab and its components are installed.
1313
# The default is "/home/$app_user/gitlab"
1414
app_root="/home/$app_user/gitlab"
1515

16-
# pid_path defines a folder in which the gitlab and it's components place their pids.
16+
# pid_path defines a folder in which the gitlab and its components place their pids.
1717
# This variable is also used below to define the relevant pids for the gitlab components.
1818
# The default is "$app_root/tmp/pids"
1919
pid_path="$app_root/tmp/pids"

0 commit comments

Comments
 (0)