From 8cca8d05cd42a42e16d6dc5966fb1670154f04a6 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 11 Oct 2024 06:25:55 +0300 Subject: Init script --- README | 1 + deploy.sh | 1 + init.sh | 2 ++ 3 files changed, 4 insertions(+) create mode 100755 init.sh diff --git a/README b/README index da9dc26..616bb2e 100644 --- a/README +++ b/README @@ -19,4 +19,5 @@ Helping scripts: - ./create_static_list.sh Deploy scripts: +- ./init.sh - ./deploy.sh diff --git a/deploy.sh b/deploy.sh index fb3b4d0..c680146 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,5 +1,6 @@ #!/bin/bash echo 'Deploying...' +./init.sh if [ -f "${HOME}/rse_server.pid" ] then pkill $(cat ${HOME}/rse_server.pid) diff --git a/init.sh b/init.sh new file mode 100755 index 0000000..9fe1422 --- /dev/null +++ b/init.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mkdir hashes -- cgit v1.2.3