Browse Source

matrix config directories

Bob Mottram 8 years ago
parent
commit
6b8fcd0248
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-app-matrix

+ 3
- 0
src/freedombone-app-matrix View File

178
         sed -i 's|no_tls: .*|no_tls: True|g' "${filepath}"
178
         sed -i 's|no_tls: .*|no_tls: True|g' "${filepath}"
179
     fi
179
     fi
180
     sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
180
     sed -i 's|enable_registration_captcha.*|enable_registration_captcha: False|g' "${filepath}"
181
+    sed -i "s|database:.*|database: \"${MATRIX_DATA_DIR}/homeserver.db\"|g" "${filepath}"
182
+    sed -i "s|media_store_path:.*|media_store_path: \"${MATRIX_DATA_DIR}/media_store\"|g" "${filepath}"
183
+    sed -i "s|pid_file:.*|pid_file: \"${MATRIX_DATA_DIR}/homeserver.pid\"|g" "${filepath}"
181
 }
184
 }
182
 
185
 
183
 function matrix_diff {
186
 function matrix_diff {