Gitlab service autostart
Created by: DmitryRibalka
I have issue with gitlab sevice auto start:
I have installed gitlab according to manual on Ubuntu Server 12.04 x86. Also add script for start it automatically on boot. But it's not booting. I have to do it manuaaly by command: sudo -u gitlab bundle exec rails s -e production -d
How this script work? -> /etc/init.d/gitlab
I can stop this service, but gitlab keep working.
How to autostart gitlab properly?
804 ? Ss 0:00 nginx: master process /usr/sbin/nginx 806 ? S 0:00 nginx: worker process 807 ? Ssl 0:01 whoopsie 809 ? S 0:20 nginx: worker process 810 ? S 0:20 nginx: worker process 811 ? S 0:21 nginx: worker process 919 ? Ss 0:01 /usr/lib/postfix/master 921 ? S 0:08 [flush-8:0] 934 ? S 0:00 qmgr -l -t fifo -u 939 ? Ss 3:25 /usr/bin/redis-server /etc/redis/redis.conf 1072 tty1 Ss+ 0:00 /sbin/getty -8 38400 tty1 1453 ? Sl 4:55 /usr/local/bin/ruby script/rails s -e production -d 5553 ? S 0:00 /usr/bin/python /home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/ 5610 ? S 0:00 [kworker/0:1] 10871 ? Sl 0:16 unicorn_rails master -c /home/gitlab/gitlab/config/unicorn.rb -E p 10889 ? Sl 0:00 unicorn_rails worker[0] -c /home/gitlab/gitlab/config/unicorn.rb - 10892 ? Sl 0:00 unicorn_rails worker[1] -c /home/gitlab/gitlab/config/unicorn.rb - 10941 ? Sl 0:00 resque-1.20.0: Waiting for post_receive,mailer,system_hook