diff --git a/Containers/mastercontainer/backup-time-file-watcher.sh b/Containers/mastercontainer/backup-time-file-watcher.sh
index 69b40ef6..593743e3 100644
--- a/Containers/mastercontainer/backup-time-file-watcher.sh
+++ b/Containers/mastercontainer/backup-time-file-watcher.sh
@@ -1,9 +1,8 @@
#!/bin/bash
restart_process() {
- set -x
+ echo "Restarting cron.sh because daily backup time was set or unset."
pkill cron.sh
- set +x
}
file_present() {
@@ -22,5 +21,5 @@ file_present() {
while true; do
file_present
- sleep 5
+ sleep 2
done
diff --git a/Containers/mastercontainer/session-deduplicator.sh b/Containers/mastercontainer/session-deduplicator.sh
index 26508616..4326090a 100644
--- a/Containers/mastercontainer/session-deduplicator.sh
+++ b/Containers/mastercontainer/session-deduplicator.sh
@@ -1,7 +1,7 @@
#!/bin/bash
while true; do
- while "$(find "/mnt/docker-aio-config/session/" -mindepth 1 -exec grep "aio_authenticated|[a-z]:1" {} \; | wc -l)" -gt 1; do
+ while [ "$(find "/mnt/docker-aio-config/session/" -mindepth 1 -exec grep "aio_authenticated|[a-z]:1" {} \; | wc -l)" -gt 1 ]; do
unset SESSION_FILES
SESSION_FILES="$(find "/mnt/docker-aio-config/session/" -mindepth 1)"
unset SESSION_FILES_ARRAY
diff --git a/php/templates/containers.twig b/php/templates/containers.twig
index f859bf71..f5cc93e9 100644
--- a/php/templates/containers.twig
+++ b/php/templates/containers.twig
@@ -118,7 +118,7 @@
@@ -297,7 +297,7 @@
Last {{ borg_backup_mode }} failed! (Logs)
{% elseif backup_exit_code == 0 %}
{% if borg_backup_mode == "backup" %}
- Last {{ borg_backup_mode }} successful on {{ last_backup_time }}! (Logs)
+ Last {{ borg_backup_mode }} successful on {{ last_backup_time }} CT! (Logs)
{% else %}
Last {{ borg_backup_mode }} successful! (Logs)
{% endif %}
@@ -342,7 +342,7 @@