X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Ftools.md;h=fac1f4b392b12d8d3e6defeb40601b276deec07a;hb=b5f33124be77a43f43ca73007b5df9dab802a02c;hp=d068a2cc7834d4691c948ca6bf02a27c88fc2ed3;hpb=5650d09504c9960a0c152a40ed9bc2988898dc6b;p=friendica.git diff --git a/doc/tools.md b/doc/tools.md index d068a2cc78..fac1f4b392 100644 --- a/doc/tools.md +++ b/doc/tools.md @@ -9,6 +9,7 @@ Friendica Tools Friendica has a build in command console you can find in the *bin* directory. The console provides the following commands: +* cache: Manage node cache * config: Edit site config * createdoxygen: Generate Doxygen headers * dbstructure: Do database updates @@ -24,6 +25,9 @@ The console provides the following commands: * php2po: Generate a messages.po file from a strings.php file * po2php: Generate a strings.php file from a messages.po file * typo: Checks for parse errors in Friendica files +* postupdate: Execute pending post update scripts (can last days) +* storage: Manage storage backend +* relay: Manage ActivityPub relay servers Please consult *bin/console help* on the command line interface of your server for details about the commands. @@ -47,13 +51,13 @@ In */etc/fail2ban/jail.local* create a section for Friendica: bantime = 900 filter = friendica port = http,https - logpath = /var/log/friend.log + logpath = /var/log/friendica.log logencoding = utf-8 And create a filter definition in */etc/fail2ban/filter.d/friendica.conf*: [Definition] - failregex = ^.*Login\.php.*failed login attempt.*from IP .*$ + failregex = ^.*authenticate\: failed login attempt.*\"ip\"\:\"\".*$ ignoreregex = Additionally you have to define the number of failed logins before the ban should be activated.