From e76539745fe5d269d6e677a3362c3e17b4116e87 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 25 Mar 2022 15:26:21 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'services/pad.libre?= =?UTF-8?q?-service.eu.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/pad.libre-service.eu.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/services/pad.libre-service.eu.md b/services/pad.libre-service.eu.md index 2b73af3..e02bab1 100644 --- a/services/pad.libre-service.eu.md +++ b/services/pad.libre-service.eu.md @@ -321,9 +321,11 @@ To update to the latest released version, execute git pull origin. The next star So proceed: ``` systemctl stop etherpad -cd /var/www/pad.libre-service.eu/ -git pull -./src/bin/run.sh -???????? +su etherpad -c "cd /var/www/pad.libre-service.eu/ && git pull" +su etherpad -c "cd /var/www/pad.libre-service.eu/ && ./bin/installDeps.sh" +su etherpad -c "cd /var/www/pad.libre-service.eu/ && npm audit" +su etherpad -c "cd /var/www/pad.libre-service.eu/ && npm audit fix" +su etherpad -c "cd /var/www/pad.libre-service.eu/ && npm audit" + systemctl start etherpad ```