summaryrefslogtreecommitdiffstats
path: root/snap/hooks/install
diff options
context:
space:
mode:
authorOndrej Kubik <ondrej.kubik@canonical.com>2018-03-01 11:53:40 +0000
committerOndrej Kubik <ondrej.kubik@canonical.com>2018-03-01 11:53:40 +0000
commit1be8e5625fd20797910009a8221ca706fd52ab11 (patch)
tree28eb6d06373cf567a96e76b2f3f6a5f82305b82b /snap/hooks/install
parent9084158aece8a642dc49bf7ecc2196bf9d1af63e (diff)
downloadwekan-1be8e5625fd20797910009a8221ca706fd52ab11.tar.gz
wekan-1be8e5625fd20797910009a8221ca706fd52ab11.tar.bz2
wekan-1be8e5625fd20797910009a8221ca706fd52ab11.zip
Fixing problem when mongodb was not started at install/refresh
Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Diffstat (limited to 'snap/hooks/install')
-rwxr-xr-xsnap/hooks/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/snap/hooks/install b/snap/hooks/install
index 14087eaa..7bc908eb 100755
--- a/snap/hooks/install
+++ b/snap/hooks/install
@@ -1,6 +1,6 @@
#!/bin/bash
-exec >> $SNAP_COMMON/hook.log 2>&1
+exec >> $SNAP_DATA/hook.log 2>&1
echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook"
# coppy caddy file in place