From c8e494596e0f52856785d4f942a60ab4e7c2b441 Mon Sep 17 00:00:00 2001 From: Jokob-sk Date: Sun, 29 Oct 2023 22:33:15 +1100 Subject: [PATCH] Install rewrite v2.1 --- config/.gitignore | 2 ++ db/.gitignore | 2 ++ dockerfiles/start.sh | 1 + 3 files changed, 5 insertions(+) create mode 100644 config/.gitignore create mode 100644 db/.gitignore diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 00000000..c96a04f0 --- /dev/null +++ b/config/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/db/.gitignore b/db/.gitignore new file mode 100644 index 00000000..c96a04f0 --- /dev/null +++ b/db/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore \ No newline at end of file diff --git a/dockerfiles/start.sh b/dockerfiles/start.sh index 0cad0a04..0d88296c 100755 --- a/dockerfiles/start.sh +++ b/dockerfiles/start.sh @@ -86,6 +86,7 @@ fi echo "[INSTALL] Copy starter pialert.db and pialert.conf if they don't exist" # Copy starter pialert.db and pialert.conf if they don't exist +# cp -n "/home/pi/pialert/back/pialert.conf" "/home/pi/pialert/config/pialert.conf" cp -n "$INSTALL_DIR/pialert/back/pialert.conf" "$INSTALL_DIR/pialert/config/pialert.conf" cp -n "$INSTALL_DIR/pialert/back/pialert.db" "$INSTALL_DIR/pialert/db/pialert.db"