Browse Source

mediagoblin admin user

Bob Mottram 8 years ago
parent
commit
1fa973dea2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-app-mediagoblin

+ 1
- 1
src/freedombone-app-mediagoblin View File

@@ -350,7 +350,7 @@ function install_mediagoblin {
350 350
 
351 351
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg dbupdate" - mediagoblin
352 352
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg adduser --username $MY_USERNAME --password admin $MEDIAGOBLIN_ADMIN_PASSWORD" - mediagoblin
353
-    su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg makeadmin admin" - mediagoblin
353
+    su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg makeadmin $MY_USERNAME" - mediagoblin
354 354
 
355 355
     echo '[Unit]' > /etc/systemd/system/mediagoblin.service
356 356
     echo 'Description=Media service' >> /etc/systemd/system/mediagoblin.service