directus tmux et caddy 10

This commit is contained in:
Valentin 2024-02-24 14:31:08 +01:00
parent 0e46ad8168
commit 6648bc7b0f
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ if [[ "$answer" == "y" ]]; then
session="directus"
su -c "tmux new-session -d -s ${session} &&\
tmux send-keys -t ${session} \"cd /home/${username}/${cms_folder} && npx directus start\" C-m" $username
tmux send-keys -t ${session} \"cd /home/${username}/${cms_folder} && npx directus start\" C-m" caddy
caddyfile="/etc/caddy/Caddyfile"
echo "cms.${domain_name} {" >> $caddyfile