hack: rename scripts to hack

This commit is contained in:
Alex Zenla
2024-03-07 16:40:06 +00:00
parent 182401371b
commit e3a70e5595
27 changed files with 79 additions and 70 deletions

14
hack/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"