From 7af7b4e9f1b67cac1508fa508504505be33f0d88 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 16 Feb 2025 17:40:47 +0000 Subject: Updated README and fixed some bugs --- autoBackup/autoBackup.py | 4 ++-- autoBackup/docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'autoBackup') diff --git a/autoBackup/autoBackup.py b/autoBackup/autoBackup.py index 9b5dee5..166ad5a 100644 --- a/autoBackup/autoBackup.py +++ b/autoBackup/autoBackup.py @@ -179,7 +179,7 @@ def main(): if was_already_on: logging.info("The slave TrueNAS was turned on not by us, so stopping here") else: - logging.info("The slave TrueNAS was turned on my us, so starting the shutdown procedure") + logging.info("The slave TrueNAS was turned on by us, so starting the shutdown procedure") logging.info(json.dumps(slave.shutdown(), indent = 4)) # wait until the slave TrueNAS is using 0w of power, which implies it has finished shutting down, @@ -192,4 +192,4 @@ def main(): if __name__ == "__main__": main() - \ No newline at end of file + diff --git a/autoBackup/docker-compose.yml b/autoBackup/docker-compose.yml index 2f43e77..f23ecb8 100644 --- a/autoBackup/docker-compose.yml +++ b/autoBackup/docker-compose.yml @@ -2,13 +2,13 @@ version: "3" services: autoReplicate: - container_name: autoReplicate + container_name: auto_replicate volumes: - ./logs/:/app/logs env_file: - ./.env restart: unless-stopped - image: reg.reaweb.uk/autoBackup + image: reg.reaweb.uk/auto_replicate build: context: . - dockerfile: Dockerfile \ No newline at end of file + dockerfile: Dockerfile -- cgit v1.2.3