This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-05 17:07:37 +00:00
|
|
|
#! /usr/bin/env bash
|
2020-06-22 09:54:01 +00:00
|
|
|
|
|
|
|
set -e # exit on first error
|
2020-03-05 17:07:37 +00:00
|
|
|
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get -y install python3-pip
|
|
|
|
|
2021-07-16 12:38:02 +00:00
|
|
|
pip3 install discord-webhook python-dotenv requests elasticsearch-curator
|
2020-03-05 17:07:37 +00:00
|
|
|
|
2020-10-27 15:39:00 +00:00
|
|
|
# add cron entries to user crontab
|
|
|
|
crontab -u user /home/user/skynet-webportal/setup-scripts/support/crontab
|
2021-08-16 12:44:07 +00:00
|
|
|
|
|
|
|
# make sure the scripts are runnable
|
|
|
|
chmod +x /home/user/skynet-webportal/scripts/es_cleaner.py
|