overleaf/00_make_sharelatex_data_dirs.sh

21 lines
708 B
Bash
Raw Normal View History

2015-02-06 12:01:50 -05:00
#!/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