overleaf/server-ce/init_scripts/00_make_sharelatex_data_dirs.sh

39 lines
1.2 KiB
Bash
Raw Normal View History

2015-02-06 17:01:50 +00:00
#!/bin/sh
set -e
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/data
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data/user_files
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/data/user_files
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data/compiles
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/data/compiles
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data/output
chown www-data:www-data /var/lib/sharelatex/data/output
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data/cache
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/data/cache
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/data/template_files
chown www-data:www-data /var/lib/sharelatex/data/template_files
mkdir -p /var/lib/sharelatex/data/history
chown www-data:www-data /var/lib/sharelatex/data/history
mkdir -p /var/lib/sharelatex/tmp/projectHistories
chown www-data:www-data /var/lib/sharelatex/tmp/projectHistories
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/tmp
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/tmp
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/tmp/uploads
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/tmp/uploads
2015-02-06 17:01:50 +00:00
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
2016-05-27 14:46:51 +00:00
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder