From 93af40f91d78df3d062f13f0463b27ed9d3e298b Mon Sep 17 00:00:00 2001 From: vlaborie Date: Tue, 18 Jul 2017 11:24:53 +0200 Subject: [PATCH] Commande systemd pour instance Redis --- HowtoRedis.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HowtoRedis.md b/HowtoRedis.md index 6fff71d7..d9bbc6f6 100644 --- a/HowtoRedis.md +++ b/HowtoRedis.md @@ -160,6 +160,12 @@ Group=redis-%i WantedBy=multi-user.target ~~~ +Recharger la configuration systemd : + +~~~ +systemctl daemon-reload +~~~ + ### Installation Créer un utilisateur système pour l’instance : @@ -204,6 +210,8 @@ systemctl start redis@instance1 systemctl stop redis@instance1 systemctl restart redis@instance1 systemctl status redis@instance1 +systemctl enable redis@instance1 +systemctl disable redis@instance1 ~~~ ## Sauvegardes