From f30d6bffb1773355bae3d4d3028454b5b8a27e74 Mon Sep 17 00:00:00 2001 From: bunyevacz <40023510+bunyevacz@users.noreply.github.com> Date: Tue, 11 Sep 2018 21:23:55 +0200 Subject: [PATCH] added wildduck-webmail --- Updating-wildduck-via-git.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Updating-wildduck-via-git.md b/Updating-wildduck-via-git.md index 7bf9e5e..cc914a1 100644 --- a/Updating-wildduck-via-git.md +++ b/Updating-wildduck-via-git.md @@ -141,6 +141,20 @@ fatal: reference is not a tree: 538da537ca3cef0bbd714da70085cfd4cc734b49 (userr) $ systemctl restart haraka ``` +## `5.` Update wildduck-webmail + +``` +(root) $ sudo su deploy +(deploy) $ cd /var/opt/wildduck-webmail.git/ +(deploy) $ git --git-dir=/var/opt/wildduck-webmail.git --work-tree=/opt/wildduck-webmail fetch origin +(deploy) $ git --git-dir=/var/opt/wildduck-webmail.git --work-tree=/opt/wildduck-webmail fetch origin cc7829eeb79e7952b30f90a2c0c96cc213ce3ce4 +(deploy) $ git --git-dir=/var/opt/wildduck-webmail.git --work-tree=/opt/wildduck-webmail checkout cc7829eeb79e7952b30f90a2c0c96cc213ce3ce4 +(deploy) $ cd /opt/wildduck-webmail +(deploy) $ npm install --production +(deploy) $ exit +(userr) $ systemctl restart wildduck-webmail +``` + Check **Redis**, and flushes all the keys in all databases: ``` $ redis-cli