Browse Source

ativar postgresql-13 para executar quando startuo sistema

dev
bruno 9 months ago
parent
commit
85828223db
  1. 1
      centos7/aplicativo-simplesip/upgrade_database.sh

1
centos7/aplicativo-simplesip/upgrade_database.sh

@ -434,6 +434,7 @@ sed -i "s/^\(#autovacuum =.*\)/autovacuum = off/g" "$(get_pgdata_13)postgresql.c
chown -R postgres:postgres "$(get_pgdata_13)" chown -R postgres:postgres "$(get_pgdata_13)"
chown -R postgres:postgres "$(get_path_backup)" chown -R postgres:postgres "$(get_path_backup)"
systemctl enable postgresql-13
systemctl daemon-reload systemctl daemon-reload
echo "Reiniciar o postgresql 13" echo "Reiniciar o postgresql 13"

Loading…
Cancel
Save