Pārlūkot izejas kodu

Add user after config

Bob Mottram 8 gadus atpakaļ
vecāks
revīzija
79634e54a4
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3
    3
      src/freedombone-app-matrix

+ 3
- 3
src/freedombone-app-matrix Parādīt failu

@@ -317,9 +317,6 @@ function install_matrix {
317 317
         exit 782542
318 318
     fi
319 319
 
320
-    groupadd matrix
321
-    useradd -c "Matrix system account" -d /var/lib/matrix -m -r -g matrix matrix
322
-
323 320
     function_check install_turn
324 321
     install_turn
325 322
     MATRIX_SECRET="${turnkey}"
@@ -332,6 +329,9 @@ function install_matrix {
332 329
         exit 783724
333 330
     fi
334 331
 
332
+    groupadd matrix
333
+    useradd -c "Matrix system account" -d /var/lib/matrix -m -r -g matrix matrix
334
+
335 335
     chown -R matrix:matrix /etc/matrix
336 336
     chown -R matrix:matrix /var/lib/matrix
337 337