commit | ca6dba9902aafc087b27aeb5fa9fff5fea5d6ea5 | [log] [tgz] |
---|---|---|
author | vuko <vuko@hackerspace.pl> | Thu Jan 05 19:54:20 2023 +0100 |
committer | vuko <vuko@hackerspace.pl> | Fri Mar 31 19:33:17 2023 +0000 |
tree | b3740842ad41c531aba78f3a948043dc31389e15 | |
parent | 3125aa118635afeba6989bc978512ddedf54a6e2 [diff] |
hswaw/customs: send cron mails to both Change-Id: I9776ee7eadc77f8bddf09eee7dee6331f9088c29 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1457 Reviewed-by: informatic <informatic@hackerspace.pl>
diff --git a/hswaw/machines/customs.hackerspace.pl/configuration.nix b/hswaw/machines/customs.hackerspace.pl/configuration.nix index 45cd64f..aa1c61f 100644 --- a/hswaw/machines/customs.hackerspace.pl/configuration.nix +++ b/hswaw/machines/customs.hackerspace.pl/configuration.nix
@@ -404,7 +404,7 @@ date --iso-8601=seconds >> /var/log/arptables/arptables.log ''; in { - mailto = "vuko@hackerspace.pl"; + mailto = "both@hackerspace.pl"; enable = true; systemCronJobs = [ "*/5 * * * * root ${log-neigh}"
diff --git a/hswaw/machines/customs.hackerspace.pl/update_authorized_keys.py b/hswaw/machines/customs.hackerspace.pl/update_authorized_keys.py index 2b336f2..4e86b0e 100755 --- a/hswaw/machines/customs.hackerspace.pl/update_authorized_keys.py +++ b/hswaw/machines/customs.hackerspace.pl/update_authorized_keys.py
@@ -75,7 +75,7 @@ logging.info('Creating new "authorized_keys" file') os.rename(new_file, old_file) elif filecmp.cmp(new_file, old_file, shallow=False): - logging.info('Nothing changed - "authorized_keys" file is up to date') + logging.debug('Nothing changed - "authorized_keys" file is up to date') new_file.unlink() else: logging.info('Keys changed - overwriting "authorized_keys" file')