--- /dev/null
+{
+ "translations": {
+ "wrongCaptcha": "Captcha leider falsch.",
+ "invalidURL": "Falsch formatierte URL.",
+ "recordedURL": "URL aufgezeichnet (wird gesichtet und bei Angemessenheit dem Artikel angefügt): ",
+ "pleaseWait": "Zu viele Versuche von dieser IP. So viele Sekunden warten: "
+ },
+ "mailConfig": {
+ "to": "plom+url_catcher@plomlompom.com",
+ "from": "plom+url_catcher@plomlompom.com"
+ },
+ "slowdownReset": 3600
+}
old_server="$3"
# Install configs, set up firewall.
+echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
+echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections
config_tree_prefix="${HOME}/config/buster"
./install_for_target.sh web dumpsite
./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" web dumpsite
# FIXME: we should not depend on a GitHub repo;
# instead, set up like plomlombot repo (with post-recieve hook)
su -lc "cd url-catcher && ln -s ../blog/captchas/linkable/ captchas" plom
+cp "${config_tree_prefix}/other_files/url-catcher_customizations.json" /home/plom/url-catcher/customizations.json
systemctl enable url_catcher.service
-service url_catcher startc
+service url_catcher start
# NOTE: fix metadata/article_tmpl referencing dump.plomlompom.com explicitely
# Prepare NGINX.