Death Plan Switch: A Self-Hosted Plan for the Unexpected
A self-hosted dead man’s switch that helps solo admins leave a plan for the people who may need to take over.
There's an awkward question hiding behind a lot of carefully maintained home servers: who knows what to do if the person running them suddenly isn't around? Backups can bring files back, but they can't explain which domains matter or who has access to the hosting account.
Death Plan Switch is a small self-hosted application built around that problem. It gives a solo administrator a way to leave instructions with the right people if they stop checking in. It's an uncomfortable subject, but a surprising amount of responsibility can rest with one person and a password manager.
The Check-In That Starts the Conversation #
The idea is straightforward. Once a week, Death Plan Switch emails its owner a link to a check-in page. They open it and press a button to confirm they're still around. Opening the link doesn't count, since email scanners sometimes follow links automatically.
If a check-in is missed, the application sends reminders rather than immediately alarming everyone. After three days, it asks a nominated next of kin whether things are all right. They can confirm things are fine or report a problem. If nobody responds, the application eventually sends prewritten messages to designated contacts, such as someone who could take over a website or contact clients. The documented process can take up to thirteen days from the last successful check-in.
I like that there's a person involved before the wider notifications go out. Missing an email because you're away for a few days shouldn't immediately turn into a family emergency. Owners can pause check-ins for up to 28 days or correct a false alarm.
Leaving Directions, Not a Pile of Passwords #
One sensible choice is that Death Plan Switch doesn't try to become a secret vault. Its messages are meant to tell trusted people where the important information lives and whom to contact. Actual credentials and recovery documents should be arranged separately.
That matters beyond a personal blog. Somebody may need to renew a domain, keep a customer's website online, or hand hosting responsibilities to another administrator. A family member sorting out a home network might simply need to know whom to call.
The project asks contacts to confirm their roles before the switch can be armed, and it calls for those arrangements to be checked again each year. That's the part I find most valuable. Writing down a plan is easy enough. Making sure the people named in it actually know they're part of that plan is another matter.
The Server Has to Stay Alive, Too #
There's an obvious catch to running an emergency notification tool yourself: it depends on the infrastructure you maintain. A failed server, broken scheduler, or expired mail account could leave the switch silent at exactly the wrong moment.
The developer recommends hosting it separately from the services it protects and monitoring its health endpoint from somewhere else. It's a PHP 8.1-or-newer application that uses SMTP and a scheduled job every fifteen minutes. There's no database to operate, although there isn't an official Docker Compose deployment in the installation instructions either.
Messages and the SMTP password are stored in plain text in a protected data directory. Keeping that directory inaccessible from the web is essential, and the application checks for accidental exposure. I wouldn't trust something this consequential without rehearsing the full notification process with test contacts first.
Death Plan Switch is new, and its author describes it as a best-effort tool rather than a guarantee. That's a reasonable boundary. Software can't replace a trusted person who understands the plan, but it might help start the right conversation when nobody knows something has happened.
The project is free under the MIT license. I'd recommend reading through the Death Plan Switch GitHub repository, particularly its installation, security, and rehearsal notes. This is one of those unusual self-hosted ideas that makes me think less about what else a server can run and more about who could look after it later.

Comments 0
Join the conversation.
No comments yet. Be the first to comment.