คำสั่ง restart GitLab

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: คำสั่ง restart GitLab

Re: คำสั่ง restart GitLab

โดย mindphp » 11/10/2017 8:42 pm

คำสั่งดู สถานะการทำงาน

โค้ด: เลือกทั้งหมด

sudo gitlab-ctl status
Restart บาง Service เช่น nginx

โค้ด: เลือกทั้งหมด

sudo gitlab-ctl restart nginx

คำสั่ง restart GitLab

โดย mindphp » 11/10/2017 8:41 pm

คำสั่ง restart GitLab

โค้ด: เลือกทั้งหมด

sudo gitlab-ctl restart
ตัวอย่าง ผลที่ได้
ok: run: gitlab-workhorse: (pid 11291) 1s
ok: run: logrotate: (pid 11299) 0s
ok: run: mailroom: (pid 11306) 0s
ok: run: nginx: (pid 11309) 0s
ok: run: postgresql: (pid 11316) 1s
ok: run: redis: (pid 11325) 0s
ok: run: sidekiq: (pid 11331) 1s
ok: run: unicorn: (pid 11338) 0s

ข้างบน