Commit fa6bc28d authored by Romain Maliach-Auguste's avatar Romain Maliach-Auguste 🌵
Browse files

Copy-paste to fix previous copy-paste

parent 0c30cf25
#!/bin/bash
let retries=5
while [ $retries -gt 0 ] && [ -v "/APIKEY.txt" ] ; do >&2 echo "/APIKEY.txt must contain the etherpad instance's API key. Copy (or mount) it. It is generated by etherpad-lite at startup and placed in its root (usually /opt/etherpad-lite/APIKEY.txt). We'll trying again $retries more times, after having slept 10 seconds."; sleep 10; let retries--; done
while [ $retries -gt 0 ] && [ -v $(cat /APIKEY.txt) ] ; do >&2 echo "/APIKEY.txt must contain the etherpad instance's API key. Copy (or mount) it. It is generated by etherpad-lite at startup and placed in its root (usually /opt/etherpad-lite/APIKEY.txt). We'll trying again $retries more times, after having slept 10 seconds."; sleep 10; let retries--; done
if [ $retries == 0 ] ; then >&2 echo "Failed to find /APIKEY.txt, aborting."; exit 1; fi
CF=/etc/delete_after_delay.yml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment