aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-06-04 20:51:02 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-06-04 20:51:02 +0200
commit95beffcb8b8e69afdf2b83dfe5c4b01e515c67d6 (patch)
treef62b3266103d8d716a574df1a14aa005114c4924 /install.sh
parent3dbec14a792b2ea6d8f67a6090d57f0f1859e6d9 (diff)
download0tdns-95beffcb8b8e69afdf2b83dfe5c4b01e515c67d6.tar.gz
0tdns-95beffcb8b8e69afdf2b83dfe5c4b01e515c67d6.zip
get current date from within python
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 4d94d6b..4a1eb58 100755
--- a/install.sh
+++ b/install.sh
@@ -20,12 +20,10 @@ install -D -m755 src/perform_queries.py "$INSTALL_ROOT"/var/lib/0tdns/perform_qu
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
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
-
# simillar approach will be used to install other files