From 13f33b78bc30959a8ff0b42beadbe475715ebaf5 Mon Sep 17 00:00:00 2001 From: Louis MILCENT Date: Sun, 1 Oct 2017 15:00:30 +0200 Subject: [PATCH] Only update permissions for /ghost/content & /etc/s6.d Why wanted to update /ghost, including the `node_modules` folder? This is taking a lots of time while only updating `/ghost/content` and `/etc/s6.d` allow to start ghost faster. --- ghost/rootfs/usr/local/bin/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghost/rootfs/usr/local/bin/run.sh b/ghost/rootfs/usr/local/bin/run.sh index a6d86ea4..0b092ce6 100644 --- a/ghost/rootfs/usr/local/bin/run.sh +++ b/ghost/rootfs/usr/local/bin/run.sh @@ -37,7 +37,7 @@ if [ "$ENABLE_ISSO" == "True" ] && ! grep -q 'isso' /ghost/content/themes/casper fi echo "> Updating permissions..." -chown -R ${UID}:${GID} /ghost /etc/s6.d +chown -R ${UID}:${GID} /ghost/content /etc/s6.d echo "> Executing process..." if [ '$@' == '' ]; then