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 ```