directus tmux et caddy 10
This commit is contained in:
parent
0e46ad8168
commit
6648bc7b0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue