From f0ea14a2dfbff86ac50eaa436e0efe1edc4584a1 Mon Sep 17 00:00:00 2001 From: chee Date: Mon, 12 Aug 2019 23:37:01 +0100 Subject: [PATCH] fix permissions after making the application ! --- commands/create-snoot.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/create-snoot.js b/commands/create-snoot.js index dac0076..fd01e22 100755 --- a/commands/create-snoot.js +++ b/commands/create-snoot.js @@ -130,13 +130,13 @@ module.exports = async function createSnoot () { log("creating a bare git repo for them to live at /repo") await snoots.createBareRepo(snoot) - log("fixing ssh permssions") - await snoots.fixSshPermissions(snoot) - log("generating their base application files! 📠 🎰") await snoots.createBaseApplication(snoot, {authorizedKeys}) - log("restarting nginx 🔂") + log("fixing ssh permssions") + await snoots.fixSshPermissions(snoot) + + log("running nginx refresh script 🔂") await shell.run("/www/snoot.club/scripts/refresh.zsh /www/snoot.club/") }