Kaynağa Gözat

mediagoblin admin user

Bob Mottram 8 yıl önce
ebeveyn
işleme
1fa973dea2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      src/freedombone-app-mediagoblin

+ 1
- 1
src/freedombone-app-mediagoblin Dosyayı Görüntüle

350
 
350
 
351
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg dbupdate" - mediagoblin
351
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg dbupdate" - mediagoblin
352
     su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg adduser --username $MY_USERNAME --password admin $MEDIAGOBLIN_ADMIN_PASSWORD" - mediagoblin
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
     echo '[Unit]' > /etc/systemd/system/mediagoblin.service
355
     echo '[Unit]' > /etc/systemd/system/mediagoblin.service
356
     echo 'Description=Media service' >> /etc/systemd/system/mediagoblin.service
356
     echo 'Description=Media service' >> /etc/systemd/system/mediagoblin.service