From dfa1a7d0c3b8d3132453511bf48e9c9eec47f40f Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Fri, 19 Jun 2020 02:58:58 +0200 Subject: send emails to users when ip doesn't match --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 091fd3c..ad71236 100755 --- a/install.sh +++ b/install.sh @@ -19,10 +19,11 @@ install -D -m744 src/netns-script "$INSTALL_ROOT"/var/lib/0tdns/netns-script install -D -m755 src/perform_queries.py "$INSTALL_ROOT"/var/lib/0tdns/perform_queries.py install -D -m644 db_connection_config.yml "$INSTALL_ROOT"/etc/0tdns/db_connection_config.yml -# This one would make sense to be executed directly, so it'll go to sbin -# This happens to also be the script, that gets called by cron +# Those would make sense to be executed directly, so they'll go to (s)bin +# Those happen to also be the scripts, that get called by cron install -D -m744 src/hourly.py "$INSTALL_ROOT"/usr/sbin/hourly.py install -D -m744 src/check_if_done.py "$INSTALL_ROOT"/usr/sbin/check_if_done.py +install -D -m744 src/send_emails.py "$INSTALL_ROOT"/usr/bin/send_emails.py # This one shall be imported from other scripts install -D -m644 src/ztdnslib.py "$INSTALL_ROOT"/usr/lib/python3/dist-packages/ztdnslib.py -- cgit v1.2.3