kersist_

KERSIST

Kerkar Persistent Sessions

Persistent Linux workspaces built on tmux. KERSIST is a small, Linux-native command-line tool that gives your tmux sessions a lifecycle: they survive reboots, recover from crashes, and can be stopped, started, or deliberately released — all through the system's own systemd.

$ curl -fsSL https://apt.kersist.kerkars.com/install | sudo bash
Documentation Installation

Ubuntu 24.04 & 26.04 · Debian 12 · amd64 & arm64 · Signatures and repository

What KERSIST does

Ordinary tmux sessions die when the machine reboots. If the tmux server crashes, your workspace is gone. And there's no standard way to say "keep this session for good" or "manage it for me now" without extra machinery.

KERSIST is the missing lifecycle layer:

A typical flow

kersist create dev        # create a persistent session named "dev" and attach
kersist attach legacy     # make an existing tmux session persistent
kersist ls                # list managed and unmanaged sessions
kersist stop dev          # stop it; it stays stopped across reboots
kersist start dev         # recreate it from its saved layout
kersist restart dev       # stop and recreate
kersist drop dev          # stop managing it; tmux keeps running

create and attach snapshot the pane layout and the commands that were running in it. After a crash or reboot, KERSIST replays the setup and the application commands — tmux brings the workspace back.

Why KERSIST

How it works

KERSIST (small CLI)
    |
    | manages kersist@NAME.service
    v
systemd unit kersist@NAME.service
    |
    v
KERSIST supervisor (restarts on failure)
    |
    v
tmux server & session NAME
    |
    v
your shell / application

An intentional stop or exit is recorded and stays stopped. An unexpected failure — crash, killed server, reboot — is recreated by the supervisor. See Architecture for details.

Install

$ curl -fsSL https://apt.kersist.kerkars.com/install | sudo bash

The installer adds the signed KERSIST APT repository (key fingerprint pinned, signature verified), then:

$ sudo apt install kersist $ kersist --version

Requirements: Linux with systemd, tmux 3.0+, Python 3.9+. Packages exist for Ubuntu 24.04, Ubuntu 26.04 and Debian 12 on amd64 and arm64.

Full installation guide

Documentation & FAQ

License

KERSIST is proprietary software. See the LICENSE file in the Debian package for details.