mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 16:11:28 +00:00
touch sqlite file if it does not exist
This commit is contained in:
parent
11fd4bd479
commit
3d116334e0
1 changed files with 4 additions and 1 deletions
|
@ -20,5 +20,8 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads
|
|||
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
|
||||
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
|
||||
|
||||
if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then
|
||||
touch /var/lib/sharelatex/data/db.sqlite
|
||||
fi
|
||||
|
||||
chown www-data:www-data /var/lib/sharelatex/data/db.sqlite
|
||||
chown www-data:www-data /var/lib/sharelatex/data/db.sqlite
|
||||
|
|
Loading…
Reference in a new issue