recentpopularlog in

kme : sessionmanagement   4

Cleaning up stale Redis sessions | GitLab
GitLab Omnibus puts the socket at /var/opt/gitlab/redis/redis.socket, and Redis 3.2.something doesn't accept the 'KEY' command anymore (use 'redis-cli --scan --pattern "session:gitlab:*"' instead), so update accordingly.

<code class="language-bash">rcli() {
# This example works for Omnibus installations of GitLab 7.3 or newer. For an
# installation from source you will have to change the socket path and the
# path to redis-cli.
sudo /opt/gitlab/embedded/bin/redis-cli -s /var/opt/gitlab/redis/redis.shared_state.socket "$@"
}

# test the new shell function; the response should be PONG
rcli ping</code>
sysadmin  gitlab  sessionmanagement  sessionstore  sessions  solution 
7 weeks ago by kme
tmux-plugins/tmux-continuum: Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on. | https://github.com/
Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on. - tmux-plugins/tmux-continuum
tmux  plugin  sessionmanagement 
april 2019 by kme
tmux-plugins/tmux-resurrect: Persists tmux environment across system restarts. | https://github.com/
Persists tmux environment across system restarts. Contribute to tmux-plugins/tmux-resurrect development by creating an account on GitHub.
tmux  plugin  sessionmanagement 
april 2019 by kme

Copy this bookmark:





to read