summarylogtreecommitdiffstats
path: root/ethoscope-node.install
diff options
context:
space:
mode:
authorGiorgio Gilestro2020-11-27 12:15:51 +0000
committerGiorgio Gilestro2020-11-27 12:15:51 +0000
commit8ea046b4b4c4de6f5fbdfebbfa990c8ba26fb3a8 (patch)
tree6b7b89043d07808fc598c8ebf19e7d40c2768268 /ethoscope-node.install
parent6e2f86f603a41e42705c2d3ab419dc9312ba4f51 (diff)
downloadaur-8ea046b4b4c4de6f5fbdfebbfa990c8ba26fb3a8.tar.gz
Add cronie as a dependency and installs make_index.py as croned routine (daily)
Diffstat (limited to 'ethoscope-node.install')
-rw-r--r--ethoscope-node.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/ethoscope-node.install b/ethoscope-node.install
index 326b52dda1fc..a99a4072bd53 100644
--- a/ethoscope-node.install
+++ b/ethoscope-node.install
@@ -27,6 +27,9 @@ post_install() {
#setting host settings on node
echo "127.0.0.1 node" > /etc/hosts
+ #Link scripts that need to run automatically
+ ln -s /opt/ethoscope-node/node_src/scripts/make_index.py /etc/cron.daily/make_index.py
+
echo "PLEASE REBOOT NOW."
}