aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-03-22 19:12:59 +0100
committerNicholas Rodrigues Lordello <[email protected]>2026-03-22 19:12:59 +0100
commit379e1882d16148f2d0e260289f5fbd1cce27e7fa (patch)
treee3c1fb08ddf025f6d9ea4d46357e964a6cfa1a4a
parent6ee7d7dff885f28589737e93143c5fc29fc965d1 (diff)
Use `tini` Init
In order to correctly handle signals.
-rwxr-xr-xdbx-init3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbx-init b/dbx-init
index c2f9b54..8ac2d90 100755
--- a/dbx-init
+++ b/dbx-init
@@ -16,6 +16,7 @@ dnf install -y \
fzf \
netcat \
ripgrep \
+ tini \
vim-enhanced
if [[ ! -d "$h" ]]; then
@@ -31,4 +32,4 @@ if [[ ! -d "$h" ]]; then
fi
touch /run/.dbxenv
-sleep infinity
+exec tini sleep infinity