aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-04 13:01:22 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-04 13:05:35 +0200
commitbad64ce7e041fba0fc48e4b2a6f82509090cd456 (patch)
tree6da7990f9387d2e8d02ea7471dde02070074d57e /install.sh
parent5b42795d2537a6bc1735018eea40d087c8ca40f2 (diff)
download0tdns-bad64ce7e041fba0fc48e4b2a6f82509090cd456.tar.gz
0tdns-bad64ce7e041fba0fc48e4b2a6f82509090cd456.zip
put connecting to db in separate source file
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 821803a..4d94d6b 100755
--- a/install.sh
+++ b/install.sh
@@ -22,6 +22,9 @@ install -D -m644 db_connection_config.yml "$INSTALL_ROOT"/etc/0tdns/db_connectio
# This one would make sense to be executed directly, so it'll go to sbin
install -D -m744 src/hourly.py "$INSTALL_ROOT"/usr/sbin/hourly.py
+# This one shall be imported from other scripts
+install -D -m644 src/ztdns_db_connectivity.py "$INSTALL_ROOT"/usr/lib/python3/dist-packages/ztdns_db_connectivity.py
+
# This is the script, that will get called by cron
install -D -m744 src/hourly.sh "$INSTALL_ROOT"/usr/sbin/hourly.sh