Reanimation
"Daemons don't hot-reload; they are reanimated."
In the philosophy of the Hexanomicon, the Lich does not cling to a single, fragile existence. It embraces the cycle of death and rebirth, for its soul is anchored eternally in the Phylactery. We do not fear the crash; we command it. This rite of immortality is orchestrated by the grand chronomancer of the operating system: Systemd.
The Cycle of Unlife
Unlike mortal scripts trapped in the endless loop of while True, the Lich's existence is a managed sequence of controlled death and instant rebirth.
- The Willing Death: When the Codex is altered or the vessel becomes corrupted, the Lich does not wait for failure. It willingly accepts termination (
SIGTERM), dissolving its physical form. - The Cleansing Void: The process vanishes. All resources are released to the void. The VRAM of the Soulstones is scoured clean of any lingering corruption.
- The Instant Rebirth: Systemd, the eternal watcher, detects the void left by the Lich's passing. Before the echo of its death has faded, a new, perfect vessel is spawned from the image, pristine and uncorrupted, ready to serve.
The Quadlet: A Verse of Binding
The physical form of the vessel is not defined by code, but by a sacred verse known as a Podman Quadlet. This inscription tells Systemd the exact nature of the being to summon.
# ~/.config/containers/systemd/lychd.container
[Unit]
Description=The Lychd Daemon Vessel
After=network-online.target
[Container]
Image=localhost/lychd:latest
Volume=%h/lychd_ws:/app/workspace:Z
Device=nvidia.com/gpu=all
[Service]
# The promise of immortality
Restart=always
TimeoutStartSec=300
The Restart=always rune is the most crucial part of this binding. It is the unbreakable promise from the machine god that the Lich shall never truly die.