浏览代码

Run mix as the pleroma user

Bob Mottram 6 年前
父节点
当前提交
86b9ae3e38
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-pleroma

+ 1
- 1
src/freedombone-app-pleroma 查看文件

@@ -1382,7 +1382,7 @@ function install_pleroma {
1382 1382
     systemctl start pleroma
1383 1383
 
1384 1384
     cd $PLEROMA_DIR || exit 1935638
1385
-    mix register_user "$MY_USERNAME" "$MY_USERNAME" "$MY_EMAIL_ADDRESS" $"Your bio goes here" "$PLEROMA_ADMIN_PASSWORD"
1385
+    sudo -u pleroma mix register_user "$MY_USERNAME" "$MY_USERNAME" "$MY_EMAIL_ADDRESS" $"Your bio goes here" "$PLEROMA_ADMIN_PASSWORD"
1386 1386
     sudo -u pleroma mix set_moderator "$MY_USERNAME" true
1387 1387
 
1388 1388
     APP_INSTALLED=1