aboutsummaryrefslogtreecommitdiff
path: root/container/stop
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-11-27 14:59:36 +0100
committerNicholas Rodrigues Lordello <[email protected]>2026-11-27 14:59:36 +0100
commit732bd7137f018e4ad0d114744c92e33c00921d31 (patch)
tree85c56e4bbea0eeb1a370ae8b2ea5d21bb11932b8 /container/stop
parentafb81e05605603f15e0bc223b4c5dbc690ad8e49 (diff)
Start Next Version of `dbx`next
This is the first PR in a fresh branch that refactors `dbx` to a new agentic development paradigm. The idea is to create a single development container for each project, and provision it with a working agent harness. The development flow is changed to fetching Git refs from the development box for review and signing on the host. It is meant as a hardened alternative compared to the previous version (where we would typically expose a GPG/SSH socket over an `ssh` connection to the guest, and rely on `pinentry` and `askpass` configuration to enforce user presence or verification tests for each authenticated operation. It is still in the early stages of "ideating" how the final project would look like, but I already have some idea on how I want it.
Diffstat (limited to 'container/stop')
-rwxr-xr-xcontainer/stop20
1 files changed, 0 insertions, 20 deletions
diff --git a/container/stop b/container/stop
deleted file mode 100755
index 9affb9c..0000000
--- a/container/stop
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-3.0-only
-# SPDX-FileCopyrightText: 2026 Nicholas Rodrigues Lordello <[email protected]>
-
-if [ "$(id -u)" -ne 0 ]; then
- printf '%s: operation not permitted\n' "$0" >&2
- exit 1
-fi
-
-if [ -x /etc/dbx/stop.local ]; then
- /etc/dbx/stop.local ||
- printf '%s: stop.local failed (%d)\n' "$0" "$?" >&2
-fi
-
-if ! pid="$(cat /run/dbx.pid)"; then
- printf '%s: could not read init PID file, assuming 1\n' "$0" >&2
- pid=1
-fi
-kill -TERM "$pid" ||
- printf '%s: could not stop init[%s] (%d)\n' "$0" "$pid" "$?" >&2