diff options
author | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-04 13:01:22 +0200 |
---|---|---|
committer | Wojciech Kosior <kwojtus@protonmail.com> | 2020-06-04 13:05:35 +0200 |
commit | bad64ce7e041fba0fc48e4b2a6f82509090cd456 (patch) | |
tree | 6da7990f9387d2e8d02ea7471dde02070074d57e /install.sh | |
parent | 5b42795d2537a6bc1735018eea40d087c8ca40f2 (diff) | |
download | 0tdns-bad64ce7e041fba0fc48e4b2a6f82509090cd456.tar.gz 0tdns-bad64ce7e041fba0fc48e4b2a6f82509090cd456.zip |
put connecting to db in separate source file
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |