Mise à jour de 'services/minetest.libre-service.eu.md'

This commit is contained in:
Christian P. MOMON 2021-11-21 04:05:22 +01:00
parent 893819436e
commit 57984e2941

View file

@ -128,13 +128,8 @@ su - postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE minetestdb_fooland
Définir la base de données dans `/srv/minetest.libre-service.eu/worlds/fooland/world.mt` :
```
backend = postgresql
pgsql_connection = host=127.0.0.1 port=5432 user=minetestdba password=XXXXX dbname=minetestdb_fooland
auth_backend = postgresql
pgsql_auth_connection = host=127.0.0.1 port=5432 user=minetestdba password=XXXXXX dbname=minetestdb_fooland
player_backend = postgresql
pgsql_player_connection = host=127.0.0.1 port=5432 user=minetestdba password=XXXXXX dbname=minetestdb_fooland
```
@ -144,6 +139,7 @@ systemctl stop minetest-server@fooland.service
/usr/games/minetestserver --migrate postgresql --world /srv/minetest.libre-service.eu/worlds/fooland
/usr/games/minetestserver --migrate-auth postgresql --world /srv/minetest.libre-service.eu/worlds/fooland
/usr/games/minetestserver --migrate-players postgresql --world /srv/minetest.libre-service.eu/worlds/fooland
chown Debian-minetester /srv/minetest.libre-service.eu/worlds/fooland/world.mt
systemctl start minetest-server@fooland.service
```