mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
8 lines
341 B
Django/Jinja
8 lines
341 B
Django/Jinja
#!/bin/bash -e
|
|
|
|
restorecon -R {{ etherpad_root_dir }}
|
|
chown -R {{ etherpad_user }}:{{ etherpad_user }} {{ etherpad_root_dir }}/app
|
|
find {{ etherpad_root_dir }}/app -type f -exec chmod 644 "{}" \;
|
|
find {{ etherpad_root_dir }}/app -type d -exec chmod 755 "{}" \;
|
|
chmod 600 {{ etherpad_root_dir }}/app/{settings.json,SESSIONKEY.txt,APIKEY.txt}
|