2019-12-09 20:53:14 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# parameters:
|
|
|
|
# 1- twitter account to clone
|
|
|
|
# 2- mastodon login
|
|
|
|
# 3- mastodon password
|
|
|
|
# 4- instance domain (https:// is automatically added)
|
|
|
|
|
2019-12-10 11:34:39 +00:00
|
|
|
PATH="/tootbot"
|
2019-12-09 20:53:14 +00:00
|
|
|
|
|
|
|
cd "$PATH/telesur_en"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py telesurenglish me+telesur_en@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|
|
|
|
|
|
|
|
cd "$PATH/telesur_es"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py teleSURtv me+telesur_es@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|
|
|
|
|
|
|
|
cd "$PATH/itsgoingdown"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py IGD_News me+itsgoingdown@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|
|
|
|
|
|
|
|
cd "$PATH/postillon"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py Der_Postillon me+postillon@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|
|
|
|
|
|
|
|
cd "$PATH/telepolis"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py telepolis_news me+telepolis@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|
|
|
|
|
|
|
|
cd "$PATH/granma"
|
2019-12-10 11:34:39 +00:00
|
|
|
../source/tootbot.py Granma_English me+granma@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
|
2019-12-09 20:53:14 +00:00
|
|
|
/bin/sleep 60
|