From 8b9121915123cf0ebb71d2510bf2838798ecaf26 Mon Sep 17 00:00:00 2001 From: emorino Date: Wed, 28 Oct 2020 14:21:29 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20systemctl=20pour=20cont=C3=B4ler=20les?= =?UTF-8?q?=20instances?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoPostgreSQL.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoPostgreSQL.md b/HowtoPostgreSQL.md index 270d692c..5e721236 100644 --- a/HowtoPostgreSQL.md +++ b/HowtoPostgreSQL.md @@ -194,6 +194,12 @@ Par défaut le script d'init contrôle toutes les instances actives. Pour contr # pg_ctlcluster start|stop|restart|reload|status|promote ~~~ +A partir de Debian 9, on utilise plutôt systemctl pour contrôler les instances : + +~~~ +# systemctl start|stop|restart|reload|status postgresql@-.service +~~~ + Pour lister les instances existantes : ~~~