]>
Git — Sourcephile - gargantext.git/blob - devops/debian/install-postgres
4 GARGDATA
=/srv
/gargantua
/gargandata
5 sudo
mkdir -vp ${GARGDATA}
7 sudo
sed -iP "s%^data_directory.*%data_directory = \'${GARGDATA}\'%" /etc
/postgresql
/${PGVersion}/main
/postgresql.conf
8 sudo rsync
-av /var
/lib
/postgresql
/${PGVersion}/main
${GARGDATA}
9 sudo chown
-R postgres
:postgres
${GARGDATA}