From 139ba377d804809280016918d94582cf7146f110 Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 11 May 2022 10:04:31 +0200 Subject: [PATCH 1/3] Fix missing logs dir for backup/cron scripts --- changelog/items/bugs-fixed/fix-missing-logs-dir.md | 1 + logs/.empty-file | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog/items/bugs-fixed/fix-missing-logs-dir.md create mode 100644 logs/.empty-file diff --git a/changelog/items/bugs-fixed/fix-missing-logs-dir.md b/changelog/items/bugs-fixed/fix-missing-logs-dir.md new file mode 100644 index 00000000..19754e65 --- /dev/null +++ b/changelog/items/bugs-fixed/fix-missing-logs-dir.md @@ -0,0 +1 @@ +- Fix missing `logs` dir that is required for backup scripts (cron jobs). \ No newline at end of file diff --git a/logs/.empty-file b/logs/.empty-file new file mode 100644 index 00000000..336d744e --- /dev/null +++ b/logs/.empty-file @@ -0,0 +1,2 @@ +Purpose of this file is that `logs` dir can be commited to git and it will be +present on portal servers. The rest of files are git ignored. \ No newline at end of file From 2cf142ef45b2f475fac0c4818dfd645a3965ec74 Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 11 May 2022 10:06:57 +0200 Subject: [PATCH 2/3] Update comment --- logs/.empty-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/.empty-file b/logs/.empty-file index 336d744e..bd5b3ce0 100644 --- a/logs/.empty-file +++ b/logs/.empty-file @@ -1,2 +1,2 @@ Purpose of this file is that `logs` dir can be commited to git and it will be -present on portal servers. The rest of files are git ignored. \ No newline at end of file +present on portal servers. The rest of files in `logs` dir are git ignored. From 600ed72bbb0f18ca37d9fb331ed4fd9780d04b3a Mon Sep 17 00:00:00 2001 From: Filip Rysavy <29089732+firyx@users.noreply.github.com> Date: Wed, 11 May 2022 10:29:07 +0200 Subject: [PATCH 3/3] Rename logs dummy file --- logs/{.empty-file => .gitkeep} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename logs/{.empty-file => .gitkeep} (100%) diff --git a/logs/.empty-file b/logs/.gitkeep similarity index 100% rename from logs/.empty-file rename to logs/.gitkeep