From ba45e82c7881dcabdc8149ebaca42b1df55914bc Mon Sep 17 00:00:00 2001
From: Daniel Jones <admin@danieljon.es>
Date: Tue, 26 May 2020 00:24:22 +0930
Subject: update live script for new server

---
 live.sh | 7 ++++---
 1 file 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
-- 
cgit v1.2.3