summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2017-11-04 19:24:06 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-02-21 22:29:23 +0000
commitd7ea73ff8287d69583b74f779470fce6d34f30db (patch)
tree97af302284fc8afdce9f7249dd887646e8331550
parente077c85d003fb3cfd837ad8064ade767fa8fe04f (diff)
downloadwekan-d7ea73ff8287d69583b74f779470fce6d34f30db.tar.gz
wekan-d7ea73ff8287d69583b74f779470fce6d34f30db.tar.bz2
wekan-d7ea73ff8287d69583b74f779470fce6d34f30db.zip
adding uspport for snapctl restart
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
-rwxr-xr-xsnap/hooks/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/snap/hooks/configure b/snap/hooks/configure
index fd18da33..15d68a19 100755
--- a/snap/hooks/configure
+++ b/snap/hooks/configure
@@ -20,3 +20,6 @@ else
snapctl stop caddy-service 2>&1 || true
fi
+# restart mongo and wekan service
+snapctl restart mongodb 2>&1 || true
+snapctl restart wekan 2>&1 || true