aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-10-11 06:25:55 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-10-11 06:25:55 +0300
commit8cca8d05cd42a42e16d6dc5966fb1670154f04a6 (patch)
tree595184c38c97e850cf6d2c60b68d2ea0f7f44370
parenteffbaa0921a5a3b1c35b7e4d5943bb4ff6f9d045 (diff)
downloadarching-kaos-radio-8cca8d05cd42a42e16d6dc5966fb1670154f04a6.tar.gz
arching-kaos-radio-8cca8d05cd42a42e16d6dc5966fb1670154f04a6.tar.bz2
arching-kaos-radio-8cca8d05cd42a42e16d6dc5966fb1670154f04a6.zip
Init script
-rw-r--r--README1
-rwxr-xr-xdeploy.sh1
-rwxr-xr-xinit.sh2
3 files changed, 4 insertions, 0 deletions
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