mediagoblin admin user
This commit is contained in:
parent
1f886564dc
commit
1fa973dea2
|
@ -350,7 +350,7 @@ function install_mediagoblin {
|
|||
|
||||
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg dbupdate" - mediagoblin
|
||||
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg adduser --username $MY_USERNAME --password admin $MEDIAGOBLIN_ADMIN_PASSWORD" - mediagoblin
|
||||
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg makeadmin admin" - mediagoblin
|
||||
su -c "cd $MEDIAGOBLIN_BASE_DIR/mediagoblin/ && bin/gmg makeadmin $MY_USERNAME" - mediagoblin
|
||||
|
||||
echo '[Unit]' > /etc/systemd/system/mediagoblin.service
|
||||
echo 'Description=Media service' >> /etc/systemd/system/mediagoblin.service
|
||||
|
|
Loading…
Reference in New Issue