Browse Source

Update march, 8 2019

Jeroen De Meerleer 10 months ago
parent
commit
705b02da36
3 changed files with 13 additions and 6 deletions
  1. 4 0
      files/update.sh
  2. 0 6
      tasks/configure-2019.01-rc.yml
  3. 9 0
      templates/local.config.php.j2

+ 4 - 0
files/update.sh

@@ -5,6 +5,10 @@
 ## Get variables
 webroot=${1}
 
+if [[ ${webroot} == "" ]]; then
+	webroot=${PWD}
+fi
+
 ## initialize
 cd ${webroot}
 bash bin/console maintenance 1

+ 0 - 6
tasks/configure-2019.01-rc.yml

@@ -14,9 +14,3 @@
     owner: "{{ friendica_user }}"
     group: "{{ friendica_group }}"
     mode: 0644
-
-- name: Update database structure
-  shell: bash bin/console dbstructure update
-  args:
-    chdir: "{{ friendica_path }}"
-

+ 9 - 0
templates/local.config.php.j2

@@ -422,4 +422,13 @@ return [
 		// Must be writable by the ejabberd process. if set then it will prevent the running of multiple processes.
 		'lockpath' => '{{ friendica_config_jabber_lockpath }}',
 	],
+	'debug' => [
+        // ap_inbox_log (Boolean)
+        // Logs every call to /inbox as a JSON file in Friendica's temporary directory
+        'ap_inbox_log' => {{ friendica_config_debug_apinboxlog }},
+
+        // total_ap_delivery (Boolean)
+		// Deliver via AP to every possible receiver and we suppress the delivery to these contacts with other protocols
+		'total_ap_delivery' => {{ friendica_config_debug_totalapdelivery }},
+    ]
 ];