Skip to content

Instantly share code, notes, and snippets.

@cxmokai
cxmokai / stopping_gitlab.md
Created November 1, 2017 12:58 — forked from alces/stopping_gitlab.md
How to completely stop all the gitlab's processes

To stop all the gitlab-related processes (e.g. for moving gitlab to another node while running it on top of HA-cluster) run the following two commands as root (strictly in that sequence):

gitlab-ctl stop
/sbin/stop gitlab-runsvdir

After such a full stopping gitlab couldn't be run again by conventional gitlab-ctl start. Although gitlab-ctl reconfigure would work fine in such a case,

@cxmokai
cxmokai / tmux-cheatsheet.markdown
Created August 27, 2017 06:47 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]