Commit Graph

64 Commits

Author SHA1 Message Date
Semen Romanov b5f11ee90c Invalid variable 2017-08-01 05:25:26 +00:00
Jacob Vosmaer 28590e8854 Enable Gitaly by default in GitLab 9.3 2017-05-30 16:09:44 +02:00
Jacob Vosmaer 542b0d8b01 Use config.toml to configure Gitaly 2017-04-06 17:44:18 +02:00
Jacob Vosmaer 275b7797c1 Add gitaly source installation instructions 2017-03-21 14:55:41 +01:00
Drew Blessing 41d431d97f Fix syntax error in init.d/gitlab after Pages -> CE
Cherry-picked ‘Fix syntax error in conditional statement’
2017-02-07 13:05:42 +00:00
Achilleas Pipinellis 5556db0404 Add missing gitlab-pages related vars in init.d/gitlab 2017-01-31 22:55:30 +00:00
Achilleas Pipinellis deb9481efd Add missing variables for gitlab-pages
[ci skip]
2017-01-31 22:55:28 +00:00
Achilleas Pipinellis d5ccea0286 Add init scripts for GitLab Pages daemon 2017-01-31 22:55:28 +00:00
Achilleas Pipinellis c73bf28143 Replace gitlab-workhorse with GitLab Workhorse where appropriate 2016-04-28 17:36:50 +03:00
Rémy Coutable 555b1a621a Merge branch 'fix-init' into 'master'
Fixed init.d script not working on OS X

-s flag of su doesn't work correctly on OS X, logging in as the user
and not running the requested command. By moving the bash shell init
inside the su command we avoid the issue

Fixes Issue #3309 

See merge request !1728
2016-02-08 17:30:10 +00:00
ritave 1fab3979b1 Fixed init.d script not working on OS X
-s flag of su doesn't work correctly on some systems, loging in the user
and not running the requested command. By moving the bash shell init
inside the su command we avoid the issue
2016-02-08 16:56:07 +01:00
Harald Spaethe 2694513cfe suppress only errors in init-script while determining canonical path of gitlab_workhorse_dir 2016-02-08 14:58:49 +01:00
fbretel 5287da7412 Consistent rails_socket use. 2016-01-25 13:19:27 +00:00
Jacob Vosmaer 693fa7a458 Init script changes for gitlab-workhorse in 8.4 2016-01-21 13:36:55 +01:00
cafuego 9c893af7ad Fix spelling of "it's" to "its" where appropriate. 2015-12-24 15:28:12 +11:00
Jacob Vosmaer 447e598ec4 Update init script options for gitlab-workhorse 2015-12-15 16:24:04 +01:00
Stan Hu f1fd4880d9 Check GitLab Workhorse status in init.d script when reporting all components are up and running
Closes https://github.com/gitlabhq/gitlabhq/issues/9869
2015-12-04 07:12:49 -08:00
Jacob Vosmaer c5132e94e1 Switch to gitlab-workhorse 2015-10-29 14:21:24 +01:00
Jacob Vosmaer 780bac1026 Be more defensive when running 'kill' 2015-08-31 16:15:41 +02:00
Jacob Vosmaer 4027a26e7b Replace grack with gitlab-git-http-server 2015-08-31 15:30:15 +02:00
Douwe Maan 02e7b00a54 Fix init script for Reply by email 2015-08-25 12:03:58 -07:00
Douwe Maan 9501495aeb Fix init.d script. 2015-08-19 17:43:24 -07:00
Douwe Maan 1202875dff Fix lib/support/init.d/gitlab. 2015-08-19 14:54:30 -07:00
Douwe Maan f3b57ce677 Update init scripts. 2015-08-19 13:58:07 -07:00
Antonio Huete Jimenez e9ef274bb2 Use whoami instead of $USER
- Use whoami instead of relying on the existence of $USER enviroment variable which is not always present
2015-06-19 09:01:35 +02:00
Drunkard Zhang 4c5adb702c Specify shell while run me as git user
Some users disabled "git" user's shell after finished installation, this
will lead to "This account is currently not available" and could not
run /etc/init.d/gitlab, this dirty trick fix it.

Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2015-02-04 09:36:51 +08:00
Dmitriy Zaporozhets 7a75b3f300 Merge pull request #6986 from agjmills/master
added SYSV chkconfig property so gitlab starts after MySQLd / nginx
2014-05-30 16:58:37 +03:00
Marin Jankovski 2341cefd6f Move from script to bin directory. 2014-05-27 17:14:41 +02:00
Alexander Mills 821ab16846 added SYSV chkconfig property so gitlab starts after MySQLd / nginx 2014-05-16 10:29:12 +01:00
Dmitriy Zaporozhets cf7aab9b44 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce 2014-03-27 08:56:13 +02:00
Jacob Vosmaer ad7cd8fb35 Merge pull request #6222 from nickryand/background_init
Removed the backgrounding of the unicorn_rails startup scripts
2014-03-26 12:25:40 +01:00
Jacob Vosmaer 24e9c5e83e Merge branch 'bugfix/fix_unicorn-sidekiq_confusion_in_gitlab_init_script' into 'master'
Fix Unicorn-Sidekiq Confusion In GitLab Init Script

This merge request fixes issue #126 by updating a few sections of the included GitLab init file where Unicorn was referred to as Sidekiq and vice-versa.
2014-03-26 11:19:26 +00:00
Pawel Krzaczkowski 9422b451eb Init script - change start() stop() restart() reload() to xxxx_gitlab() 2014-03-26 10:50:42 +01:00
Nick Downs 73a987ea6b Removed the backgrounding of the unicorn_rails webapp start call. 2014-03-25 10:40:44 -07:00
Jacob Vosmaer 306d4ee728 Merge pull request #5935 from nmoura/patch-1
Changed sudo by su -c in init script
2014-03-25 15:06:54 +01:00
Kyle Fazzari 058aae5940 Fixed Unicorn-Sidekiq confusion in GitLab init script.
There were a few places in the included init script where
Unicorn was referred to as Sidekiq and vice-versa.

This fixes #126.
2014-03-08 09:07:59 -05:00
dosire 42220f2a18 Remove version since we don't keep it up to date. 2014-01-23 15:14:07 +01:00
Arif Ali 4650855685 Update the init.d file to the correct locationof the example defaults file
Update the example defaults, include the rest of he variables
2014-01-08 22:54:03 +00:00
Nilton Moura 6daa97f472 Changed sudo by su -c
The sudo command needs a tty to run. If you put this file on a CentOS 6, for example, it will not run in the host startup process. Instead, the 'su -c' runs the command apart if it has or not a tty.

I tested this change in a fresh install of gitlab on a CentOS 6.5 with successful.
2013-12-26 17:13:25 -02:00
Rovanion Luckey 29cb573b6c Added example defaults file and appropriate documentation. 2013-12-09 14:05:50 +01:00
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