mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Try to fix Snap WRITABLE_FILES.
Thanks to xet7 !
This commit is contained in:
parent
5b31e2f2fb
commit
4ca7b0dad7
4 changed files with 17 additions and 16 deletions
|
|
@ -24,12 +24,6 @@ if test -f "$SNAP_COMMON/mongodb.log"; then
|
|||
rm -f "$SNAP_COMMON/mongodb.log"
|
||||
fi
|
||||
|
||||
# If uploads directory does not exist, create it.
|
||||
# Wekan will store attachments there.
|
||||
if [ ! -d "${WRITABLE_PATH}" ]; then
|
||||
mkdir "${WRITABLE_PATH}"
|
||||
fi
|
||||
|
||||
# Alternative: When starting MongoDB, and using logfile, truncate log to last 1000 lines of text.
|
||||
# 1) If file exists:
|
||||
#if test -f "$SNAP_COMMON/mongodb.log"; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue