@@ -92,7 +92,7 @@ check_pids(){
92
92
93
93
# # Called when we have started the two processes and are waiting for their pid files.
94
94
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
96
96
i=0;
97
97
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
98
98
sleep 0.1;
@@ -108,7 +108,7 @@ wait_for_pids(){
108
108
}
109
109
110
110
# 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.
112
112
check_pids
113
113
114
114
@@ -290,7 +290,7 @@ stop_gitlab() {
290
290
sleep 1
291
291
# Cleaning up unused pids
292
292
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.
294
294
rm -f " $gitlab_workhorse_pid_path "
295
295
if [ " $mail_room_enabled " = true ]; then
296
296
rm " $mail_room_pid_path " 2> /dev/null
@@ -299,7 +299,7 @@ stop_gitlab() {
299
299
print_status
300
300
}
301
301
302
- # # Prints the status of GitLab and it's components.
302
+ # # Prints the status of GitLab and its components.
303
303
print_status () {
304
304
check_status
305
305
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() {
333
333
fi
334
334
}
335
335
336
- # # Tells unicorn to reload it's config and Sidekiq to restart
336
+ # # Tells unicorn to reload its config and Sidekiq to restart
337
337
reload_gitlab (){
338
338
exit_if_not_running
339
339
if [ " $wpid " = " 0" ]; then
0 commit comments