35 lines
1 KiB
Bash
35 lines
1 KiB
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
# parameters:
|
||
|
# 1- twitter account to clone
|
||
|
# 2- mastodon login
|
||
|
# 3- mastodon password
|
||
|
# 4- instance domain (https:// is automatically added)
|
||
|
|
||
|
PATH="/app/tootbot"
|
||
|
|
||
|
cd "$PATH/telesur_en"
|
||
|
../source/tootbot.py telesurenglish me+telesur_en@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|
||
|
|
||
|
cd "$PATH/telesur_es"
|
||
|
../source/tootbot.py teleSURtv me+telesur_es@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|
||
|
|
||
|
cd "$PATH/itsgoingdown"
|
||
|
../source/tootbot.py IGD_News me+itsgoingdown@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|
||
|
|
||
|
cd "$PATH/postillon"
|
||
|
../source/tootbot.py Der_Postillon me+postillon@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|
||
|
|
||
|
cd "$PATH/telepolis"
|
||
|
../source/tootbot.py telepolis_news me+telepolis@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|
||
|
|
||
|
cd "$PATH/granma"
|
||
|
../source/tootbot.py Granma_English me+granma@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
|
||
|
/bin/sleep 60
|