summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlive.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/live.sh b/live.sh
index cc8f059..f71d81d 100755
--- a/live.sh
+++ b/live.sh
@@ -5,6 +5,7 @@ git pull
make clean
make
./generate
-cp -r output/* /var/www/html
-chmod -R +r /var/www/html/blog
-chmod -R +r /var/www/html/posts
+cp -r output/* /var/www/danieljon.es
+setfacl -Rm u::rwX,g::r-X,o::--- /var/www/danieljon.es/
+setfacl -Rdm u::rwX,g::r-X,o::--- /var/www/danieljon.es/
+restorecon -vRF /var/www/danieljon.es