delonix system boot

Persistência no arranque: units systemd para os containers voltarem a subir no boot.

Boot persistence: systemd units so containers come back up after a reboot.

boot enable gera uma unit systemd por container em execução (rootless → user units + loginctl enable-linger; root → system units), com ExecStart =container start. Assim os containers voltam a subir quando o host arranca, sem daemon.

boot enable generates one systemd unit per running container (rootless → user units + loginctl enable-linger; root → system units), with ExecStart=container start. So containers come back up when the host boots, with no daemon.

Usage: delonix system boot [OPTIONS] <COMMAND>

Commands:
  status   Show boot-persistence status (installed units + mode)
  disable  Disable + remove the generated boot units
  enable   Install + enable systemd units so containers come back after a reboot
  help     Print this message or the help of the given subcommand(s)

Options:
      --l18n <en|pt>
          Output language: `en` (default) or `pt` (Portuguese, pt_AO). Also settable via `$DELONIX_L18N`. Global — works before any subcommand

  -h, --help
          Print help (see a summary with '-h')

COMMAND MAP:
  Inspect    status
  Configure  enable · disable

EXAMPLES:
  # make the containers running right now come back after a reboot
  delonix system boot enable

  # what is installed, and in which mode
  delonix system boot status

  # undo it
  delonix system boot disable

SEE ALSO:
  delonix container run · delonix container start · delonix system info

  delonix › system › boot

boot enable

Install + enable systemd units so containers come back after a reboot.

Covers the ones running now AND the ones whose own policy says they should be (always/unless-stopped) — a reboot kills the supervisor, so those are stopped precisely when it matters. Stale units whose container is gone are removed. Rootless uses user units + linger.

Usage: delonix system boot enable [OPTIONS]

Options:
      --l18n <en|pt>
          Output language: `en` (default) or `pt` (Portuguese, pt_AO). Also settable via `$DELONIX_L18N`. Global — works before any subcommand

      --restart <RESTART>
          Restart policy baked into the units (`no|on-failure[:max]|always|unless-stopped`).
          
          Omitted, each unit inherits the container's own policy (`always` if it has none). Given, it applies to every unit — including `no`.

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # one unit per RUNNING container; rootless installs user units and turns
  # linger on, so they start without a login
  delonix system boot enable

  # bake a gentler policy into the units than the `always` default
  delonix system boot enable --restart on-failure:3

SEE ALSO:
  delonix system boot status · delonix system boot disable · delonix container
  run

  delonix › system › boot › enable

ExemplosExamples

Persistir os que correm agora
Persist the ones running now
delonix system boot enable

boot status

Show boot-persistence status (installed units + mode)

Usage: delonix system boot status [OPTIONS]

Options:
      --l18n <en|pt>
          Output language: `en` (default) or `pt` (Portuguese, pt_AO). Also settable via `$DELONIX_L18N`. Global — works before any subcommand

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # which units exist, and whether they are user units with linger or system
  # units
  delonix system boot status

SEE ALSO:
  delonix system boot enable · delonix system boot disable · delonix container
  ps

  delonix › system › boot › status

ExemplosExamples

Ver o que está instalado
See what's installed
delonix system boot status

boot disable

Disable + remove the generated boot units

Usage: delonix system boot disable [OPTIONS]

Options:
      --l18n <en|pt>
          Output language: `en` (default) or `pt` (Portuguese, pt_AO). Also settable via `$DELONIX_L18N`. Global — works before any subcommand

  -h, --help
          Print help (see a summary with '-h')

EXAMPLES:
  # disable and delete the generated units — what is running keeps running, it
  # just no longer comes back by itself
  delonix system boot disable

SEE ALSO:
  delonix system boot enable · delonix system boot status

  delonix › system › boot › disable

ExemplosExamples

Remover as units de boot
Remove the boot units
delonix system boot disable

LaboratórioLab

Faz um container sobreviver a um reboot do host, sem daemon nenhum a vigiá-lo.

delonix container run -d --name web nginx
delonix system boot enable web
delonix system boot status web

Make a container survive a host reboot, with no daemon watching over it.

delonix container run -d --name web nginx
delonix system boot enable web
delonix system boot status web

DesafioChallenge

Em rootless, confirma que a unit gerada é uma user unit (não system) e que loginctl enable-linger ficou activo para a tua conta — sem isso a unit nunca arrancaria antes do login.

In rootless mode, confirm the generated unit is a user unit (not a system one) and that loginctl enable-linger got enabled for your account — without it, the unit would never start before login.