From a4e2a9c272045d66224b68ce9448760168f2f1d2 Mon Sep 17 00:00:00 2001 From: Valentin Date: Sun, 25 Feb 2024 17:40:05 +0100 Subject: [PATCH] deploy nuxt caddy 4 --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 52fe9ae..dc2b356 100644 --- a/install.sh +++ b/install.sh @@ -337,8 +337,6 @@ if [[ "$answer" == "y" ]]; then read -s website_token fi - echo $username - su -c "cd /home/${username} &&\ git clone ${repo_url} &&\ cd ${front_folder} &&\ @@ -351,7 +349,7 @@ if [[ "$answer" == "y" ]]; then npm run build &&\ tmux new-session -d -s front &&\ tmux send-keys -t front \"cd /home/${username}/${front_folder} && node .output/server/index.mjs\" C-m &&\ - tmux send-keys -t directus "npx directus start" C-m" $username + tmux send-keys -t directus \"npx directus start\" C-m" $username caddyfile="/etc/caddy/Caddyfile" echo "www.${domain_name} {" >> $caddyfile