From 61bd776507283cd3fada9854511f5ad34610b23b Mon Sep 17 00:00:00 2001 From: vlaborie Date: Tue, 4 Jul 2017 18:45:23 +0200 Subject: [PATCH] Refactoring --- HowtoPuma.md | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/HowtoPuma.md b/HowtoPuma.md index 42f53ce6..b361e943 100644 --- a/HowtoPuma.md +++ b/HowtoPuma.md @@ -5,7 +5,13 @@ title: Howto Puma [Puma](http://puma.io/) est un serveur d'application Ruby on rails. -## 0. Prérequis +## Prérequis + +Installation de ruby : + +~~~ +apt install ruby +~~~ Installation de Puma : @@ -19,7 +25,7 @@ Création du dossier de configuration : mkdir -m 0750 /etc/puma ~~~ -Création d'un service SystemD : +Création d'un service SystemD en mode utilisateur : ~~~ cat > /etc/systemd/user/puma.service <