aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-19 02:58:58 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-19 02:58:58 +0200
commitdfa1a7d0c3b8d3132453511bf48e9c9eec47f40f (patch)
tree03ddca9721eef2fc1de56616e240ad5dda3f4b5e /install.sh
parentd8194e0d2cc27c426d1619a26eab5738e3a83fde (diff)
download0tdns-dfa1a7d0c3b8d3132453511bf48e9c9eec47f40f.tar.gz
0tdns-dfa1a7d0c3b8d3132453511bf48e9c9eec47f40f.zip
send emails to users when ip doesn't match
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 3 insertions, 2 deletions
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