Commit graph

24 commits

Author SHA1 Message Date
Piotr Roszatycki
5c98cae9fe Read configuration variable file if it is present 2013-10-29 17:21:54 +01:00
Jacob Vosmaer
4727fa3fcc Report application status through init exit code 2013-10-25 11:26:22 +02:00
Rovanion Luckey
67a80d07ab Updated the init script, now waits for pids 2013-10-24 14:56:17 +02:00
Jacob Vosmaer
6a7d63aa47 Move unicorn and sidekiq commands into bash script 2013-10-15 22:48:57 +02:00
Jacob Vosmaer
8512307614 Use sidekiq restart rake task in init script 2013-10-09 16:49:01 +02:00
Jacob Vosmaer
78b3fb769c Run stopping commands in the foreground 2013-10-07 14:40:56 +02:00
Zane Shannon
13d0088407 Fixed grammatical mistake in init.d status output.
"its" not "it's".
2013-09-26 13:01:22 -05:00
Jeff '2 bits' Bachtel
ca1d63c2f6 -i flag allows sudo to work for git users using rvm that is not being used by
root user (su might be better)
2013-09-06 18:53:10 -04:00
Rovanion
fe8fa9a581 Made script path flexible 2013-09-03 14:27:51 +02:00
Rovanion
98ea81e659 Restart works again, grammar mistakes corrected. 2013-08-29 23:29:38 +02:00
Rovanion
cda4d6881a Fixed failure to stop and added handling of failure to remove stale pid 2013-08-28 13:22:01 +02:00
Rovanion
f57944cc61 Corrections suggested by jacobvosmaer 2013-08-28 13:11:57 +02:00
Rovanion
7c38f4e237 Changes recommended by @axilleas 2013-08-27 15:05:53 +02:00
Rovanion
df9e1db904 Rewrote init script. 2013-08-27 13:43:01 +02:00
Jacob Vosmaer
2b9d48ccd0 Fix the service gitlab restart command
This commit addresses two related issues:
- Sidekiq should shut down completely before we restart it;
- If we restart unicorn with USR2 we need to kill the old master and
  worker processes.
2013-08-23 10:31:32 +02:00
Sytse Sijbrandij
7c55c73d63 Fix confusing situation where install guide told you to install init.d script for puma. 2013-08-19 21:54:12 +02:00
Axilleas Pipinellis
ec38d6290c Removal of gitlab.socket should be in stop function too. Fix #4313 2013-07-12 11:48:57 +03:00
Sytse Sijbrandij
70e80d95a7 When stopped correctly there should be no warning about a missing socket file. 2013-06-12 21:30:13 +02:00
Dmitriy Zaporozhets
df67b25bc2 init.d: Ensure socket is removed before starting service 2013-05-28 17:09:01 +03:00
Ben Bodenmiller
de29a424e6 changed Gitlab to GitLab 2013-05-19 02:13:39 -07:00
Lyle Entwistle
85e784cc1d Fixed puma.rb environment setting, no need to specify 'production' in daemon options now 2013-05-09 17:41:00 +01:00
rezigned
76d958ebe7 Update init.d script
The original init.d script uses a fixed username (e.g. git). Which is not flexible
when we using other user. So, I've updated it to use $APP_USER variable
instead and wrap it in a function to reduce repetitive codes.
2013-05-09 12:37:56 +07:00
majjacz
93dccb7298 Changed forgotten unicorn to puma in the init script 2013-05-04 21:39:53 +02:00
Dmitriy Zaporozhets
5ac5f586f8 Move init.d and nginx default recipes in core library to save efforts trying keep sync between gitlab-recipes and gitlabhq 2013-04-22 12:44:09 +02:00