krata: rewrite all repo infrastructure

This commit is contained in:
Alex Zenla
2024-03-07 09:04:05 +00:00
parent baefe0dceb
commit 670e140682
39 changed files with 419 additions and 181 deletions

14
scripts/debug/session.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
set -e
stop_service_if_running() {
if sudo systemctl is-active "${1}" > /dev/null 2>&1
then
sudo systemctl stop "${1}"
fi
}
stop_service_if_running "kratad.service"
stop_service_if_running "kratanet.service"
tmuxp load "$(dirname "${0}")/session.yml"