overleaf/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh
2016-05-23 12:43:26 +01:00

21 lines
No EOL
708 B
Bash
Executable file

#!/bin/sh
mkdir -p /var/lib/sharelatex/data
chown sharelatex:sharelatex /var/lib/sharelatex/data
mkdir -p /var/lib/sharelatex/data/user_files
chown sharelatex:sharelatex /var/lib/sharelatex/data/user_files
mkdir -p /var/lib/sharelatex/data/compiles
chown sharelatex:sharelatex /var/lib/sharelatex/data/compiles
mkdir -p /var/lib/sharelatex/data/cache
chown sharelatex:sharelatex /var/lib/sharelatex/data/cache
mkdir -p /var/lib/sharelatex/tmp
chown sharelatex:sharelatex /var/lib/sharelatex/tmp
mkdir -p /var/lib/sharelatex/tmp/uploads
chown sharelatex:sharelatex /var/lib/sharelatex/tmp/uploads
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown sharelatex:sharelatex /var/lib/sharelatex/tmp/dumpFolder