9782f0321f
- Allow setup script to get credentials from flags - Add Dockerfile and docker_entrypoint - Edit README for forked version
13 lines
260 B
Bash
Executable file
13 lines
260 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd /data
|
|
|
|
if [[ ! -f "feed2toot_clientcred.txt" || ! -f "feed2toot_usercred.txt" ]]; then
|
|
register_feed2toot_app --instance $INSTANCE --username $USERNAME --password $PASSWORD
|
|
fi
|
|
|
|
while :; do
|
|
feed2toot -c ./feed2toot.ini
|
|
sleep 5m
|
|
done
|