7 lines
341 B
7 lines
341 B
#!/bin/bash -e
|
|
|
|
restorecon -R {{ etherpad_root_dir }}
|
|
chown -R {{ etherpad_user }}:{{ etherpad_user }} {{ etherpad_root_dir }}/web
|
|
find {{ etherpad_root_dir }}/web -type f -exec chmod 644 "{}" \;
|
|
find {{ etherpad_root_dir }}/web -type d -exec chmod 755 "{}" \;
|
|
chmod 640 {{ etherpad_root_dir }}/web/{settings.json,SESSIONKEY.txt,APIKEY.txt}
|
|
|