diff options
author | Giorgio Gilestro | 2020-11-27 12:15:51 +0000 |
---|---|---|
committer | Giorgio Gilestro | 2020-11-27 12:15:51 +0000 |
commit | 8ea046b4b4c4de6f5fbdfebbfa990c8ba26fb3a8 (patch) | |
tree | 6b7b89043d07808fc598c8ebf19e7d40c2768268 | |
parent | 6e2f86f603a41e42705c2d3ab419dc9312ba4f51 (diff) | |
download | aur-8ea046b4b4c4de6f5fbdfebbfa990c8ba26fb3a8.tar.gz |
Add cronie as a dependency and installs make_index.py as croned routine (daily)
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | ethoscope-node.install | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -12,6 +12,7 @@ pkgbase = ethoscope-node makedepends = wget makedepends = fping depends = ntp + depends = cronie depends = openssh depends = mariadb depends = dnsmasq @@ -8,7 +8,7 @@ arch=('any') url="http://lab.gilest.ro/ethoscope" license=('GPL3') makedepends=('git' 'gcc-fortran' 'rsync' 'wget' 'fping' ) -depends=('ntp' 'openssh' 'mariadb' 'dnsmasq' 'avahi' 'python-setuptools' 'python-pip' 'python-ifaddr' 'python-numpy' 'python-bottle' 'python-pyserial' 'python-mysql-connector' 'python-netifaces' 'python-cherrypy' 'python-eventlet' 'python-gitpython' 'python-dnspython' 'python-greenlet' 'python-monotonic' 'python-zeroconf' 'python-cheroot') +depends=('ntp' 'cronie' 'openssh' 'mariadb' 'dnsmasq' 'avahi' 'python-setuptools' 'python-pip' 'python-ifaddr' 'python-numpy' 'python-bottle' 'python-pyserial' 'python-mysql-connector' 'python-netifaces' 'python-cherrypy' 'python-eventlet' 'python-gitpython' 'python-dnspython' 'python-greenlet' 'python-monotonic' 'python-zeroconf' 'python-cheroot') provides=('ethoscope') install="ethoscope-node.install" source=("$pkgname::git+https://github.com/gilestrolab/ethoscope.git") 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." } |